1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 21:50:55 +00:00

python.pkgs.acme: move to separate expression

This commit is contained in:
wisut hantanong 2017-07-15 13:18:20 +07:00 committed by Jörg Thalheim
parent ee1022bf26
commit d437a722af
2 changed files with 20 additions and 13 deletions

View file

@ -0,0 +1,19 @@
{ 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";
}

View file

@ -268,19 +268,7 @@ in {
vega = callPackage ../development/python-modules/vega { };
acme = buildPythonPackage rec {
inherit (pkgs.certbot) src version;
name = "acme-${version}";
propagatedBuildInputs = with self; [
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests six werkzeug mock
ndg-httpsclient
];
buildInputs = with self; [ nose ];
postUnpack = "sourceRoot=\${sourceRoot}/acme";
};
acme = callPackage ../development/python-modules/acme { };
acme-tiny = buildPythonPackage rec {
name = "acme-tiny-${version}";