13 buildPythonPackage rec {
14 pname = "requests-kerberos";
16 format = "setuptools";
18 disabled = pythonOlder "3.6";
20 src = fetchFromGitHub {
24 hash = "sha256-Y9dTzFCgVmSnbnTE0kEfjpEkXDEA+uOqFHLkSC27YGg=";
27 propagatedBuildInputs = [
39 # avoid needing to package krb5
41 substituteInPlace setup.py \
42 --replace "pyspnego[kerberos]" "pyspnego"
45 pythonImportsCheck = [
50 description = "An authentication handler for using Kerberos with Python Requests";
51 homepage = "https://github.com/requests/requests-kerberos";
52 license = licenses.isc;
53 maintainers = with maintainers; [ catern ];