1{ lib
2, buildPythonPackage
3, fetchFromGitHub
4, pyopenssl
5, requests
6}:
7
8buildPythonPackage rec {
9 pname = "requests-pkcs12";
10 version = "1.13";
11
12 src = fetchFromGitHub {
13 owner = "m-click";
14 repo = "requests_pkcs12";
15 rev = version;
16 sha256 = "0mc9zpa0d9gijf56mxmsxy4qdcm200ixhnm6i3y5xc2yfv9r6xqy";
17 };
18
19 propagatedBuildInputs = [
20 requests
21 pyopenssl
22 ];
23
24 # Project has no tests
25 doCheck = false;
26 pythonImportsCheck = [ "requests_pkcs12" ];
27
28 meta = with lib; {
29 description = "PKCS#12 support for the Python requests library";
30 homepage = "https://github.com/m-click/requests_pkcs12";
31 license = with licenses; [ isc ];
32 maintainers = with maintainers; [ fab ];
33 };
34}