diff options
Diffstat (limited to 'pkgs/development/python-modules/pyspnego/default.nix')
-rw-r--r-- | pkgs/development/python-modules/pyspnego/default.nix | 47 |
1 files changed, 20 insertions, 27 deletions
diff --git a/pkgs/development/python-modules/pyspnego/default.nix b/pkgs/development/python-modules/pyspnego/default.nix index dca383ce6d9c..e1b716245a5d 100644 --- a/pkgs/development/python-modules/pyspnego/default.nix +++ b/pkgs/development/python-modules/pyspnego/default.nix @@ -1,20 +1,21 @@ -{ lib -, buildPythonPackage -, cryptography -, fetchFromGitHub -, gssapi -, krb5 -, ruamel-yaml -, pytest-mock -, pytestCheckHook -, pythonOlder -, setuptools -, glibcLocales +{ + lib, + buildPythonPackage, + cryptography, + fetchFromGitHub, + gssapi, + krb5, + ruamel-yaml, + pytest-mock, + pytestCheckHook, + pythonOlder, + setuptools, + glibcLocales, }: buildPythonPackage rec { pname = "pyspnego"; - version = "0.10.2"; + version = "0.11.1"; pyproject = true; disabled = pythonOlder "3.7"; @@ -23,30 +24,22 @@ buildPythonPackage rec { owner = "jborean93"; repo = pname; rev = "refs/tags/v${version}"; - hash = "sha256-60aIRrhRynbuuFZzzBhJTlmU74CWuao8jWhr126cPrc="; + hash = "sha256-8u4gAIM2HZiDooUoIM0zAUq6IJkJHMzr16p42v6ekBQ="; }; - nativeBuildInputs = [ - setuptools - ]; + nativeBuildInputs = [ setuptools ]; - propagatedBuildInputs = [ - cryptography - ]; + propagatedBuildInputs = [ cryptography ]; - passthru.optional-dependencies = { + optional-dependencies = { kerberos = [ gssapi krb5 ]; - yaml = [ - ruamel-yaml - ]; + yaml = [ ruamel-yaml ]; }; - pythonImportsCheck = [ - "spnego" - ]; + pythonImportsCheck = [ "spnego" ]; nativeCheckInputs = [ glibcLocales |