Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / requests-pkcs12 / default.nix
blob87f20922a712afd3d3ad7ffcd4650ce5dbb959a1
1 { lib
2 , buildPythonPackage
3 , fetchFromGitHub
4 , pyopenssl
5 , pythonOlder
6 , requests
7 }:
9 buildPythonPackage rec {
10   pname = "requests-pkcs12";
11   version = "1.24";
12   format = "setuptools";
14   disabled = pythonOlder "3.7";
16   src = fetchFromGitHub {
17     owner = "m-click";
18     repo = "requests_pkcs12";
19     rev = version;
20     hash = "sha256-JLFUdg7kbjhlpGgrQ29U1TRTKhjDlvMGc/FRE+awfLc=";
21   };
23   propagatedBuildInputs = [
24     requests
25     pyopenssl
26   ];
28   # Project has no tests
29   doCheck = false;
31   pythonImportsCheck = [
32     "requests_pkcs12"
33   ];
35   meta = with lib; {
36     description = "PKCS#12 support for the Python requests library";
37     homepage = "https://github.com/m-click/requests_pkcs12";
38     license = with licenses; [ isc ];
39     maintainers = with maintainers; [ fab ];
40   };