mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-16 18:53:17 +00:00
37 lines
620 B
Nix
37 lines
620 B
Nix
{ buildPythonPackage
|
|
, certbot
|
|
, cryptography
|
|
, pyasn1
|
|
, pyopenssl
|
|
, pyRFC3339
|
|
, josepy
|
|
, pytz
|
|
, requests
|
|
, requests-toolbelt
|
|
, six
|
|
, werkzeug
|
|
, mock
|
|
, ndg-httpsclient
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
inherit (certbot) src version;
|
|
|
|
pname = "acme";
|
|
|
|
propagatedBuildInputs = [
|
|
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests requests-toolbelt six
|
|
werkzeug mock ndg-httpsclient josepy
|
|
];
|
|
|
|
# does not contain any tests
|
|
doCheck = false;
|
|
pythonImportsCheck = [ "acme" ];
|
|
|
|
sourceRoot = "source/${pname}";
|
|
|
|
meta = certbot.meta // {
|
|
description = "ACME protocol implementation in Python";
|
|
};
|
|
}
|