depot/third_party/nixpkgs/pkgs/development/python-modules/acme/default.nix
Default email bba55970ba Project import generated by Copybara.
GitOrigin-RevId: 3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde
2021-04-05 17:23:46 +02:00

35 lines
608 B
Nix

{ buildPythonPackage
, certbot
, cryptography
, pyasn1
, pyopenssl
, pyRFC3339
, josepy
, pytz
, requests
, requests-toolbelt
, six
, werkzeug
, ndg-httpsclient
}:
buildPythonPackage rec {
inherit (certbot) src version;
pname = "acme";
propagatedBuildInputs = [
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests requests-toolbelt six
werkzeug ndg-httpsclient josepy
];
# does not contain any tests
doCheck = false;
pythonImportsCheck = [ "acme" ];
sourceRoot = "source/${pname}";
meta = certbot.meta // {
description = "ACME protocol implementation in Python";
};
}