1 { stdenv, python3Packages, bash }:
3 python3Packages.buildPythonApplication rec {
4 pname = "simp_le-client";
7 src = python3Packages.fetchPypi {
9 sha256 = "0m1jynar4calaffp2zdxr5yy9vnhw2qf2hsfxwzfwf8fqb5h7bjb";
13 # drop upper bound of idna requirement
14 sed -ri "s/'(idna)<[^']+'/'\1'/" setup.py
15 substituteInPlace simp_le.py \
16 --replace "/bin/sh" "${bash}/bin/sh"
20 $out/bin/simp_le --test
23 propagatedBuildInputs = with python3Packages; [ acme setuptools_scm josepy idna ];
25 meta = with stdenv.lib; {
26 homepage = https://github.com/zenhack/simp_le;
27 description = "Simple Let's Encrypt client";
28 license = licenses.gpl3;
29 maintainers = with maintainers; [ gebner makefu ];
30 platforms = platforms.linux;