diff options
author | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
---|---|---|
committer | Mx Kookie <kookie@spacekookie.de> | 2020-12-09 18:55:19 +0000 |
commit | 80d90d9b204f7c17912740f9f414fe5d59f293ba (patch) | |
tree | 5f2065a06e724270610760d59d01c6888b375a46 /infra/libkookie/nixpkgs/pkgs/development/python-modules/asyncssh/default.nix | |
parent | 3a31a84c7d3e589035ad08499206aac44a81f424 (diff) | |
parent | 83cbad92d73216bb0d9187c56cce0b91f9121d5a (diff) |
Merge commit '83cbad92d73216bb0d9187c56cce0b91f9121d5a' into main
Diffstat (limited to 'infra/libkookie/nixpkgs/pkgs/development/python-modules/asyncssh/default.nix')
-rw-r--r-- | infra/libkookie/nixpkgs/pkgs/development/python-modules/asyncssh/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/infra/libkookie/nixpkgs/pkgs/development/python-modules/asyncssh/default.nix b/infra/libkookie/nixpkgs/pkgs/development/python-modules/asyncssh/default.nix index bc540b45de47..44b769636ca5 100644 --- a/infra/libkookie/nixpkgs/pkgs/development/python-modules/asyncssh/default.nix +++ b/infra/libkookie/nixpkgs/pkgs/development/python-modules/asyncssh/default.nix @@ -1,7 +1,7 @@ { stdenv, buildPythonPackage, fetchPypi, pythonOlder , cryptography , bcrypt, gssapi, libnacl, libsodium, nettle, pyopenssl -, openssl, openssh }: +, openssl, openssh, pytestCheckHook }: buildPythonPackage rec { pname = "asyncssh"; @@ -23,6 +23,11 @@ buildPythonPackage rec { ./fix-sftp-chmod-test-nixos.patch ]; + # Disables windows specific test (specifically the GSSAPI wrapper for Windows) + postPatch = '' + rm tests/sspi_stub.py + ''; + propagatedBuildInputs = [ bcrypt cryptography @@ -36,12 +41,10 @@ buildPythonPackage rec { checkInputs = [ openssh openssl + pytestCheckHook ]; - # Disables windows specific test (specifically the GSSAPI wrapper for Windows) - postPatch = '' - rm tests/sspi_stub.py - ''; + disabledTests = [ "test_expired_root" "test_confirm" ]; meta = with stdenv.lib; { description = "Provides an asynchronous client and server implementation of the SSHv2 protocol on top of the Python asyncio framework"; |