mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-10-31 22:51:22 +00:00
pythonPackages.acme: extract from letsencrypt derivation.
This commit is contained in:
parent
9d1bbf7a02
commit
51bcfbe007
@ -1,27 +1,13 @@
|
||||
{ stdenv, pythonPackages, fetchurl, dialog }:
|
||||
|
||||
let
|
||||
pythonPackages.buildPythonPackage rec {
|
||||
version = "0.1.0";
|
||||
name = "letsencrypt-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/letsencrypt/letsencrypt/archive/v${version}.tar.gz";
|
||||
sha256 = "056y5bsmpc4ya5xxals4ypzsm927j6n5kwby3bjc03sy3sscf6hw";
|
||||
};
|
||||
version = "0.1.0";
|
||||
acme = pythonPackages.buildPythonPackage rec {
|
||||
name = "acme-${version}";
|
||||
inherit src version;
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests2 six werkzeug mock
|
||||
ndg-httpsclient
|
||||
];
|
||||
|
||||
buildInputs = with pythonPackages; [ nose ];
|
||||
|
||||
sourceRoot = "letsencrypt-${version}/acme";
|
||||
};
|
||||
in pythonPackages.buildPythonPackage rec {
|
||||
name = "letsencrypt-${version}";
|
||||
inherit src version;
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
zope_interface zope_component six requests2 pytz pyopenssl psutil mock acme
|
||||
|
@ -230,6 +230,21 @@ in modules // {
|
||||
};
|
||||
};
|
||||
|
||||
acme = buildPythonPackage rec {
|
||||
inherit (pkgs.letsencrypt) src version;
|
||||
|
||||
name = "acme-${version}";
|
||||
|
||||
propagatedBuildInputs = with self; [
|
||||
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests2 six werkzeug mock
|
||||
ndg-httpsclient
|
||||
];
|
||||
|
||||
buildInputs = with self; [ nose ];
|
||||
|
||||
sourceRoot = "letsencrypt-${version}/acme";
|
||||
};
|
||||
|
||||
actdiag = buildPythonPackage rec {
|
||||
name = "actdiag-0.5.3";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user