python3Packages.requests-kerberos: fix build
This commit is contained in:
@@ -1,4 +1,12 @@
|
|||||||
{ lib, fetchFromGitHub, buildPythonPackage, requests, pykerberos, mock }:
|
{ lib
|
||||||
|
, fetchFromGitHub
|
||||||
|
, buildPythonPackage
|
||||||
|
, cryptography
|
||||||
|
, requests
|
||||||
|
, pykerberos
|
||||||
|
, pytestCheckHook
|
||||||
|
, mock
|
||||||
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "requests-kerberos";
|
pname = "requests-kerberos";
|
||||||
@@ -12,16 +20,26 @@ buildPythonPackage rec {
|
|||||||
sha256 = "1qw96aw84nljh9cip372mfv50p1yyirfgigavvavgpc3c5g278s6";
|
sha256 = "1qw96aw84nljh9cip372mfv50p1yyirfgigavvavgpc3c5g278s6";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ mock ];
|
propagatedBuildInputs = [
|
||||||
propagatedBuildInputs = [ requests pykerberos ];
|
cryptography
|
||||||
|
requests
|
||||||
|
pykerberos
|
||||||
|
];
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
mock
|
||||||
|
pytestCheckHook
|
||||||
|
];
|
||||||
|
|
||||||
# they have a setup.py which mentions a test suite that doesn't exist...
|
# they have a setup.py which mentions a test suite that doesn't exist...
|
||||||
patches = [ ./fix_setup.patch ];
|
patches = [ ./fix_setup.patch ];
|
||||||
|
|
||||||
|
pythonImportsCheck = [ "requests_kerberos" ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "An authentication handler for using Kerberos with Python Requests.";
|
description = "An authentication handler for using Kerberos with Python Requests";
|
||||||
homepage = "https://github.com/requests/requests-kerberos";
|
homepage = "https://github.com/requests/requests-kerberos";
|
||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
maintainers = with maintainers; [ catern ];
|
maintainers = with maintainers; [ catern ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user