diff options
Diffstat (limited to 'pkgs/development/python-modules/pypsrp/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pypsrp/default.nix | 61 |
1 files changed, 24 insertions, 37 deletions
diff --git a/pkgs/development/python-modules/pypsrp/default.nix b/pkgs/development/python-modules/pypsrp/default.nix index 1dd8c57a260d..286b8a2ad902 100644 --- a/pkgs/development/python-modules/pypsrp/default.nix +++ b/pkgs/development/python-modules/pypsrp/default.nix @@ -1,22 +1,21 @@ -{ lib -, asyncssh -, buildPythonPackage -, cryptography -, fetchFromGitHub -, gssapi -, httpcore -, httpx -, krb5 -, psrpcore -, psutil -, pyspnego -, pytest-mock -, pytestCheckHook -, pythonOlder -, pyyaml -, requests -, requests-credssp -, xmldiff +{ + lib, + asyncssh, + buildPythonPackage, + cryptography, + fetchFromGitHub, + httpcore, + httpx, + psrpcore, + psutil, + pyspnego, + pytest-mock, + pytestCheckHook, + pythonOlder, + pyyaml, + requests, + requests-credssp, + xmldiff, }: buildPythonPackage rec { @@ -49,26 +48,14 @@ buildPythonPackage rec { xmldiff ]; - passthru.optional-dependencies = { - credssp = [ - requests-credssp - ]; - kerberos = [ - # pyspnego[kerberos] will have those two dependencies - gssapi - krb5 - ]; - named_pipe = [ - psutil - ]; - ssh = [ - asyncssh - ]; + optional-dependencies = { + credssp = [ requests-credssp ]; + kerberos = pyspnego.optional-dependencies.kerberos; + named_pipe = [ psutil ]; + ssh = [ asyncssh ]; }; - pythonImportsCheck = [ - "pypsrp" - ]; + pythonImportsCheck = [ "pypsrp" ]; disabledTests = [ # TypeError: Backend.load_rsa_private_numbers() missing 1 required... |