simp_le: needs acme 0.5.0

This commit is contained in:
Franz Pletz 2016-05-22 06:58:15 +02:00
parent 25f07b12cf
commit d580b0ac0c
2 changed files with 22 additions and 1 deletions

View file

@ -10,7 +10,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "0x8gqazn09m30bn1l7xnf8snhbb7yz7sb09imciqmm4jqdvn797z";
};
propagatedBuildInputs = with pythonPackages; [ acme ];
propagatedBuildInputs = with pythonPackages; [ acme_0_5_0 ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;

View file

@ -370,6 +370,27 @@ in modules // {
};
};
acme_0_5_0 = buildPythonPackage rec {
version = "0.5.0";
name = "acme-${version}";
src = pkgs.fetchFromGitHub {
owner = "letsencrypt";
repo = "letsencrypt";
rev = "v${version}";
sha256 = "0x098cdyfgqvh7x5d3sz56qjpjyg5b4fl82086sm43d8mbz0h5rm";
};
propagatedBuildInputs = with self; [
cryptography pyasn1 pyopenssl pyRFC3339 pytz requests2 six werkzeug mock
ndg-httpsclient
];
buildInputs = with self; [ nose ];
sourceRoot = "letsencrypt-v${version}-src/acme";
};
acme = buildPythonPackage rec {
inherit (pkgs.certbot) src version;