python.pkgs.acme: move to separate expression
This commit is contained in:
parent
ee1022bf26
commit
d437a722af
19
pkgs/development/python-modules/acme/default.nix
Normal file
19
pkgs/development/python-modules/acme/default.nix
Normal 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";
|
||||||
|
}
|
@ -268,19 +268,7 @@ in {
|
|||||||
|
|
||||||
vega = callPackage ../development/python-modules/vega { };
|
vega = callPackage ../development/python-modules/vega { };
|
||||||
|
|
||||||
acme = buildPythonPackage rec {
|
acme = callPackage ../development/python-modules/acme { };
|
||||||
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-tiny = buildPythonPackage rec {
|
acme-tiny = buildPythonPackage rec {
|
||||||
name = "acme-tiny-${version}";
|
name = "acme-tiny-${version}";
|
||||||
|
Loading…
Reference in New Issue
Block a user