diff options
author | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-02 11:46:47 +0200 |
---|---|---|
committer | Fabian Affolter <mail@fabian-affolter.ch> | 2021-04-02 12:29:54 +0200 |
commit | 7e656901657741394fec75905c3cb11ffc7e269e (patch) | |
tree | 6058612a07f066a7b6eae905a135a2e8c1a1735a /pkgs/development/python-modules/requests-kerberos | |
parent | 1ccbd15b10220f51f9821d200a8c31425927b269 (diff) |
python3Packages.requests-kerberos: fix build
Diffstat (limited to 'pkgs/development/python-modules/requests-kerberos')
-rw-r--r-- | pkgs/development/python-modules/requests-kerberos/default.nix | 30 |
1 files changed, 24 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/requests-kerberos/default.nix b/pkgs/development/python-modules/requests-kerberos/default.nix index 73272990e0f2c..0a023dab87149 100644 --- a/pkgs/development/python-modules/requests-kerberos/default.nix +++ b/pkgs/development/python-modules/requests-kerberos/default.nix @@ -1,4 +1,12 @@ -{ lib, fetchFromGitHub, buildPythonPackage, requests, pykerberos, mock }: +{ lib +, fetchFromGitHub +, buildPythonPackage +, cryptography +, requests +, pykerberos +, pytestCheckHook +, mock +}: buildPythonPackage rec { pname = "requests-kerberos"; @@ -12,16 +20,26 @@ buildPythonPackage rec { sha256 = "1qw96aw84nljh9cip372mfv50p1yyirfgigavvavgpc3c5g278s6"; }; - checkInputs = [ mock ]; - propagatedBuildInputs = [ requests pykerberos ]; + propagatedBuildInputs = [ + cryptography + requests + pykerberos + ]; + + checkInputs = [ + mock + pytestCheckHook + ]; # they have a setup.py which mentions a test suite that doesn't exist... patches = [ ./fix_setup.patch ]; + pythonImportsCheck = [ "requests_kerberos" ]; + meta = with lib; { - description = "An authentication handler for using Kerberos with Python Requests."; - homepage = "https://github.com/requests/requests-kerberos"; - license = licenses.isc; + description = "An authentication handler for using Kerberos with Python Requests"; + homepage = "https://github.com/requests/requests-kerberos"; + license = licenses.isc; maintainers = with maintainers; [ catern ]; }; } |