Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ 2 buildPythonPackage, 3 certbot, 4 cryptography, 5 pyasn1, 6 pyopenssl, 7 pyrfc3339, 8 josepy, 9 pytz, 10 requests, 11 requests-toolbelt, 12 six, 13 werkzeug, 14 ndg-httpsclient, 15}: 16 17buildPythonPackage rec { 18 inherit (certbot) src version; 19 20 pname = "acme"; 21 format = "setuptools"; 22 23 propagatedBuildInputs = [ 24 cryptography 25 pyasn1 26 pyopenssl 27 pyrfc3339 28 pytz 29 requests 30 requests-toolbelt 31 six 32 werkzeug 33 ndg-httpsclient 34 josepy 35 ]; 36 37 # does not contain any tests 38 doCheck = false; 39 pythonImportsCheck = [ "acme" ]; 40 41 sourceRoot = "${src.name}/${pname}"; 42 43 meta = certbot.meta // { 44 description = "ACME protocol implementation in Python"; 45 }; 46}