nixpkgs/pkgs/development/python-modules/acme/default.nix
2017-07-15 17:40:55 +01:00

19 lines
477 B
Nix

{ stdenv, buildPythonPackage, fetchPypi
, certbot, nose, cryptography, pyasn1, pyopenssl, pyRFC3339
, 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
ndg-httpsclient
];
buildInputs = [ nose ];
postUnpack = "sourceRoot=\${sourceRoot}/acme";
}