2020-04-24 23:36:52 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, certbot
|
|
|
|
, cryptography
|
|
|
|
, pyasn1
|
|
|
|
, pyopenssl
|
2024-01-25 14:12:00 +00:00
|
|
|
, pyrfc3339
|
2020-04-24 23:36:52 +00:00
|
|
|
, josepy
|
|
|
|
, pytz
|
|
|
|
, requests
|
|
|
|
, requests-toolbelt
|
|
|
|
, six
|
|
|
|
, werkzeug
|
|
|
|
, ndg-httpsclient
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
inherit (certbot) src version;
|
|
|
|
|
|
|
|
pname = "acme";
|
2024-01-02 11:29:13 +00:00
|
|
|
format = "setuptools";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
2024-01-25 14:12:00 +00:00
|
|
|
cryptography pyasn1 pyopenssl pyrfc3339 pytz requests requests-toolbelt six
|
2021-04-05 15:23:46 +00:00
|
|
|
werkzeug ndg-httpsclient josepy
|
2020-04-24 23:36:52 +00:00
|
|
|
];
|
|
|
|
|
2020-12-25 13:55:36 +00:00
|
|
|
# does not contain any tests
|
|
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [ "acme" ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2023-08-04 22:07:22 +00:00
|
|
|
sourceRoot = "${src.name}/${pname}";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = certbot.meta // {
|
|
|
|
description = "ACME protocol implementation in Python";
|
|
|
|
};
|
|
|
|
}
|