Merge pull request #288070 from JaviMerino/requests_gssapi

python3Packages.requests-gssapi: init at 1.2.3
This commit is contained in:
Fabian Affolter 2024-03-23 20:40:42 +01:00 committed by GitHub
commit 25b031a4ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 49 additions and 0 deletions

View File

@ -0,0 +1,47 @@
{ 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 ];
};
}

View File

@ -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 { };