pythonPackages.asyncssh: Switch PyTestCheckHook, disable failing tests
This commit is contained in:
parent
cde89e3ecf
commit
abfd29cace
@ -1,7 +1,7 @@
|
|||||||
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
{ stdenv, buildPythonPackage, fetchPypi, pythonOlder
|
||||||
, cryptography
|
, cryptography
|
||||||
, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl
|
, bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl
|
||||||
, openssl, openssh }:
|
, openssl, openssh, pytestCheckHook }:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "asyncssh";
|
pname = "asyncssh";
|
||||||
@ -23,6 +23,11 @@ buildPythonPackage rec {
|
|||||||
./fix-sftp-chmod-test-nixos.patch
|
./fix-sftp-chmod-test-nixos.patch
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Disables windows specific test (specifically the GSSAPI wrapper for Windows)
|
||||||
|
postPatch = ''
|
||||||
|
rm tests/sspi_stub.py
|
||||||
|
'';
|
||||||
|
|
||||||
propagatedBuildInputs = [
|
propagatedBuildInputs = [
|
||||||
bcrypt
|
bcrypt
|
||||||
cryptography
|
cryptography
|
||||||
@ -36,12 +41,10 @@ buildPythonPackage rec {
|
|||||||
checkInputs = [
|
checkInputs = [
|
||||||
openssh
|
openssh
|
||||||
openssl
|
openssl
|
||||||
|
pytestCheckHook
|
||||||
];
|
];
|
||||||
|
|
||||||
# Disables windows specific test (specifically the GSSAPI wrapper for Windows)
|
disabledTests = [ "test_expired_root" "test_confirm" ];
|
||||||
postPatch = ''
|
|
||||||
rm tests/sspi_stub.py
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework";
|
description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user