2018-07-21 02:44:44 +02:00
|
|
|
{ buildPythonPackage
|
2018-03-20 22:25:50 +01:00
|
|
|
, certbot
|
|
|
|
, nose
|
2018-12-08 03:41:13 +01:00
|
|
|
, pytest
|
2018-03-20 22:25:50 +01:00
|
|
|
, cryptography
|
|
|
|
, pyasn1
|
|
|
|
, pyopenssl
|
|
|
|
, pyRFC3339
|
|
|
|
, josepy
|
|
|
|
, pytz
|
|
|
|
, requests
|
2018-12-08 03:41:13 +01:00
|
|
|
, requests-toolbelt
|
2018-03-20 22:25:50 +01:00
|
|
|
, six
|
|
|
|
, werkzeug
|
|
|
|
, mock
|
|
|
|
, ndg-httpsclient
|
|
|
|
}:
|
2017-07-15 08:18:20 +02:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
inherit (certbot) src version;
|
|
|
|
|
|
|
|
pname = "acme";
|
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2018-12-08 03:41:13 +01:00
|
|
|
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests requests-toolbelt six
|
|
|
|
werkzeug mock ndg-httpsclient josepy
|
2017-07-15 08:18:20 +02:00
|
|
|
];
|
|
|
|
|
2018-12-08 03:41:13 +01:00
|
|
|
checkInputs = [ nose pytest ];
|
2017-07-15 08:18:20 +02:00
|
|
|
|
|
|
|
postUnpack = "sourceRoot=\${sourceRoot}/acme";
|
2018-08-03 14:16:54 +02:00
|
|
|
|
|
|
|
meta = certbot.meta // {
|
|
|
|
description = "ACME protocol implementation in Python";
|
|
|
|
};
|
2017-07-15 08:18:20 +02:00
|
|
|
}
|