2017-07-15 08:18:20 +02:00
|
|
|
{ stdenv, buildPythonPackage, fetchPypi
|
2018-03-20 22:25:50 +01:00
|
|
|
, certbot
|
|
|
|
, nose
|
|
|
|
, cryptography
|
|
|
|
, pyasn1
|
|
|
|
, pyopenssl
|
|
|
|
, pyRFC3339
|
|
|
|
, josepy
|
|
|
|
, pytz
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, werkzeug
|
|
|
|
, mock
|
|
|
|
, ndg-httpsclient
|
|
|
|
}:
|
2017-07-15 08:18:20 +02: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 22:25:50 +01:00
|
|
|
ndg-httpsclient josepy
|
2017-07-15 08:18:20 +02:00
|
|
|
];
|
|
|
|
|
2018-03-20 22:25:50 +01:00
|
|
|
checkInputs = [ nose ];
|
2017-07-15 08:18:20 +02:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/acme";
|
|
|
|
}
|