diff options
Diffstat (limited to 'pkgs/tools/admin/simp_le')
-rw-r--r-- | pkgs/tools/admin/simp_le/default.nix | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/pkgs/tools/admin/simp_le/default.nix b/pkgs/tools/admin/simp_le/default.nix index ce416e7cd250..b618e71568d3 100644 --- a/pkgs/tools/admin/simp_le/default.nix +++ b/pkgs/tools/admin/simp_le/default.nix @@ -1,26 +1,31 @@ -{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages }: - +{ stdenv, fetchFromGitHub, fetchpatch, pythonPackages, bash }: + pythonPackages.buildPythonApplication rec { pname = "simp_le-client"; - version = "0.6.1"; - name = "${pname}-${version}"; + version = "0.8.0"; src = pythonPackages.fetchPypi { inherit pname version; - sha256 = "0x4fky9jizs3xi55cdy217cvm3ikpghiabysan71b07ackkdfj6k"; + sha256 = "0nv9mm99rm8i9flgfgwvmajbsxb5rm162nfxlq3wk66bbbyr6y1i"; }; + postPatch = '' + substituteInPlace simp_le.py \ + --replace "/bin/sh" "${bash}/bin/sh" + ''; + checkPhase = '' $out/bin/simp_le --test ''; - propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm ]; + propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm josepy ]; meta = with stdenv.lib; { homepage = https://github.com/zenhack/simp_le; description = "Simple Let's Encrypt client"; license = licenses.gpl3; - maintainers = with maintainers; [ gebner ]; + maintainers = with maintainers; [ gebner makefu ]; platforms = platforms.all; }; } + |