2018-07-21 01:44:44 +01: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 07:18:20 +01: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 07:18:20 +01:00
|
|
|
];
|
|
|
|
|
2018-12-31 17:19:48 +00:00
|
|
|
checkInputs = [ pytest ];
|
2017-07-15 07:18:20 +01:00
|
|
|
|
2018-12-31 17:19:48 +00:00
|
|
|
sourceRoot = "source/${pname}";
|
2018-08-03 13:16:54 +01:00
|
|
|
|
|
|
|
meta = certbot.meta // {
|
|
|
|
description = "ACME protocol implementation in Python";
|
|
|
|
};
|
2017-07-15 07:18:20 +01:00
|
|
|
}
|