Unverified Commit 25b031a4 authored by Fabian Affolter's avatar Fabian Affolter Committed by GitHub
Browse files

Merge pull request #288070 from JaviMerino/requests_gssapi

python3Packages.requests-gssapi: init at 1.2.3
parents 70c3a7fa 88409e95
Loading
Loading
Loading
Loading
+47 −0
Original line number Diff line number Diff line
{ lib
, buildPythonPackage
, fetchPypi
, gssapi
, pytestCheckHook
, pythonOlder
, requests
, setuptools
}:

buildPythonPackage rec {
  pname = "requests-gssapi";
  version = "1.2.3";
  pyproject = true;

  disabled = pythonOlder "3.8";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-IHhFCJgUAfcVPJM+7QlTOJM6QIGNplolnb8tgNzLFQ4=";
  };

  build-system = [
    setuptools
  ];

  dependencies = [
    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";
    license = licenses.isc;
    maintainers = with maintainers; [ javimerino ];
  };
}
+2 −0
Original line number Diff line number Diff line
@@ -12907,6 +12907,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 { };