nixpkgs/pkgs/development/python-modules/acme/default.nix

32 lines
503 B
Nix
Raw Normal View History

{ stdenv, buildPythonPackage, fetchPypi
2018-03-20 21:25:50 +00:00
, certbot
, nose
, cryptography
, pyasn1
, pyopenssl
, pyRFC3339
, josepy
, pytz
, requests
, six
, werkzeug
, mock
, ndg-httpsclient
}:
buildPythonPackage rec {
inherit (certbot) src version;
pname = "acme";
name = "${pname}-${version}";
propagatedBuildInputs = [
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests six werkzeug mock
2018-03-20 21:25:50 +00:00
ndg-httpsclient josepy
];
2018-03-20 21:25:50 +00:00
checkInputs = [ nose ];
postUnpack = "sourceRoot=\${sourceRoot}/acme";
}