Commit ccce06eb authored by Javi Merino's avatar Javi Merino
Browse files

python3Packages.requests-gssapi: init at 1.2.3

parent dc4e18b8
Loading
Loading
Loading
Loading
+41 −0
Original line number Diff line number Diff line
{ buildPythonPackage
, fetchPypi
, gssapi
, lib
, pytestCheckHook
, pythonOlder
, requests
, setuptools
}:
buildPythonPackage rec {
  pname = "requests-gssapi";
  version = "1.2.3";
  disabled = pythonOlder "3.8";
  src = fetchPypi {
    inherit pname version;
    hash = "sha256-IHhFCJgUAfcVPJM+7QlTOJM6QIGNplolnb8tgNzLFQ4=";
  };

  nativeBuildInputs = [
    setuptools
  ];

  propagatedBuildInputs = [
    gssapi
    requests
  ];

  nativeCheckInputs = [
    pytestCheckHook
  ];

  pythonImportCheck = [ "requests_gssapi" ];

  meta = with lib; {
    description = "A GSSAPI authentication handler for python-requests";
    homepage = "https://github.com/pythongssapi/requests-gssapi";
    changelog = "https://github.com/pythongssapi/requests-gssapi/blob/v${version}/HISTORY.rst";
    maintainers = with maintainers; [ javimerino ];
    license = [ licenses.isc ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12700,6 +12700,8 @@ self: super: with self; {
  requests-credssp = callPackage ../development/python-modules/requests-credssp { };
  requests-gssapi = callPackage ../development/python-modules/requests-gssapi { };
  requests-hawk = callPackage ../development/python-modules/requests-hawk { };
  requests = callPackage ../development/python-modules/requests { };