2017-07-15 07:18:20 +01:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-03-20 21:25:50 +00:00
|
|
|
, certbot
|
|
|
|
, nose
|
|
|
|
, cryptography
|
|
|
|
, pyasn1
|
|
|
|
, pyopenssl
|
|
|
|
, pyRFC3339
|
|
|
|
, josepy
|
|
|
|
, pytz
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, werkzeug
|
|
|
|
, mock
|
|
|
|
, ndg-httpsclient
|
|
|
|
}:
|
2017-07-15 07:18:20 +01:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
inherit (certbot) src version;
|
|
|
|
|
|
|
|
pname = "acme";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests six werkzeug mock
|
2018-03-20 21:25:50 +00:00
|
|
|
ndg-httpsclient josepy
|
2017-07-15 07:18:20 +01:00
|
|
|
];
|
|
|
|
|
2018-03-20 21:25:50 +00:00
|
|
|
checkInputs = [ nose ];
|
2017-07-15 07:18:20 +01:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/acme";
|
|
|
|
}
|