python312Packages.osmnx: 1.9.3 → 2.0.0 (#360529)
[NixPkgs.git] / pkgs / development / python-modules / requests-credssp / default.nix
blob428b4ac187771066fe4a838052edc4bd0c6b5e99
2   lib,
3   buildPythonPackage,
4   cryptography,
5   fetchFromGitHub,
6   pyspnego,
7   pytestCheckHook,
8   pythonOlder,
9   requests,
12 buildPythonPackage rec {
13   pname = "requests-credssp";
14   version = "2.0.0";
15   format = "setuptools";
17   disabled = pythonOlder "3.7";
19   src = fetchFromGitHub {
20     owner = "jborean93";
21     repo = pname;
22     rev = "v${version}";
23     hash = "sha256-HHLEmQ+mNjMjpR6J+emrKFM+2PiYq32o7Gnoo0gUrNA=";
24   };
26   propagatedBuildInputs = [
27     cryptography
28     pyspnego
29     requests
30   ];
32   nativeCheckInputs = [ pytestCheckHook ];
34   optional-dependencies = {
35     kerberos = pyspnego.optional-dependencies.kerberos;
36   };
38   pythonImportsCheck = [ "requests_credssp" ];
40   meta = with lib; {
41     description = "HTTPS CredSSP authentication with the requests library";
42     homepage = "https://github.com/jborean93/requests-credssp";
43     license = licenses.mit;
44     maintainers = with maintainers; [ fab ];
45   };