14 buildPythonPackage rec {
15 pname = "requests-kerberos";
17 format = "setuptools";
19 disabled = pythonOlder "3.6";
21 src = fetchFromGitHub {
25 hash = "sha256-s1Q3zqKPSuTkiFExr+axai9Eta1xjw/cip8xzfDGR88=";
28 propagatedBuildInputs =
34 # Avoid broken Python krb5 package on Darwin
35 ++ lib.optionals (!stdenv.hostPlatform.isDarwin) pyspnego.optional-dependencies.kerberos;
42 pythonImportsCheck = [ "requests_kerberos" ];
45 description = "Authentication handler for using Kerberos with Python Requests";
46 homepage = "https://github.com/requests/requests-kerberos";
47 license = licenses.isc;
48 maintainers = with maintainers; [ catern ];