diff --git a/pkgs/tools/admin/simp_le/default.nix b/pkgs/tools/admin/simp_le/default.nix index 77c45e0ad3fe..d27c0a2da816 100644 --- a/pkgs/tools/admin/simp_le/default.nix +++ b/pkgs/tools/admin/simp_le/default.nix @@ -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; diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index 68deac847dbb..4221782b56b4 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -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";