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