pythonPackages.acme: extract from letsencrypt derivation.

This commit is contained in:
Gabriel Ebner 2015-12-05 08:34:50 +01:00 committed by Rok Garbas
parent 9d1bbf7a02
commit 51bcfbe007
2 changed files with 19 additions and 18 deletions

View File

@ -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

View File

@ -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";