depot/third_party/nixpkgs/pkgs/development/python-modules/acme/default.nix
Default email b6d97fd731 Project import generated by Copybara.
GitOrigin-RevId: be0b453d7c7eee2090962c9a83749b024ff9acf5
2020-12-25 14:55:36 +01:00

36 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";
};
}