mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
Merge pull request #288070 from JaviMerino/requests_gssapi
python3Packages.requests-gssapi: init at 1.2.3
This commit is contained in:
commit
25b031a4ca
47
pkgs/development/python-modules/requests-gssapi/default.nix
Normal file
47
pkgs/development/python-modules/requests-gssapi/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user