pythonPackages.acme_0_1: init at 0.1.0

`acme_0_1` is introduced because `simp_le` strictly depends on version 0.1.0
of the library (which is now at 0.4.0).
This commit is contained in:
zimbatm 2016-03-03 18:35:21 +00:00
parent 7a360b13a0
commit 5f4417e0cf
2 changed files with 24 additions and 1 deletions

View file

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

View file

@ -263,6 +263,29 @@ in modules // {
sourceRoot = "letsencrypt-v${version}-src/acme";
};
# Maintained for simp_le compatibility
acme_0_1 = buildPythonPackage rec {
version = "0.1.0";
name = "acme-${version}";
src = pkgs.fetchFromGitHub {
owner = "letsencrypt";
repo = "letsencrypt";
rev = "v${version}";
sha256 = "1f7406nnybsdbwxf7r9qjf6hzkfd7cg6qp8l9l7hrzwscsq5hicj";
};
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-tiny = buildPythonPackage rec {
name = "acme-tiny-${version}";
version = "20151229";