Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 21.05 34 lines 712 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, pyopenssl 5, requests 6}: 7 8buildPythonPackage rec { 9 pname = "requests-pkcs12"; 10 version = "1.9"; 11 12 src = fetchFromGitHub { 13 owner = "m-click"; 14 repo = "requests_pkcs12"; 15 rev = version; 16 sha256 = "09nm3c6v911d1vwwi0f7mzapbkq7rnsl7026pb13j6ma8pkxznms"; 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}