python3Packages.requests-gssapi: init at 1.2.3

This commit is contained in:
Javi Merino 2024-02-07 06:19:39 +00:00
parent dc4e18b877
commit ccce06eb00
2 changed files with 43 additions and 0 deletions

View file

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

View file

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