(simp_le): (0.8.0 -> 0.9.0)

This commit is contained in:
Judson 2018-08-04 12:56:55 -07:00
parent 8fe5b457a4
commit 7ab9e9b15b
No known key found for this signature in database
GPG Key ID: 12E21E4B9A3F82AA

View File

@ -1,17 +1,19 @@
{ stdenv, pythonPackages, bash }:
pythonPackages.buildPythonApplication rec {
pname = "simp_le-client";
version = "0.8.0";
version = "0.9.0";
src = pythonPackages.fetchPypi {
inherit pname version;
sha256 = "0nv9mm99rm8i9flgfgwvmajbsxb5rm162nfxlq3wk66bbbyr6y1i";
sha256 = "1yxfznd78zkg2f657v520zj5w4dvq5n594d0kpm4lra8xnpg4zcv";
};
postPatch = ''
# drop upper bound of acme requirement
sed -ri "s/'(acme>=[^,]+),<[^']+'/'\1'/" setup.py
# drop upper bound of idna requirement
sed -ri "s/'(idna)<[^']+'/'\1'/" setup.py
substituteInPlace simp_le.py \
--replace "/bin/sh" "${bash}/bin/sh"
'';
@ -20,7 +22,7 @@ pythonPackages.buildPythonApplication rec {
$out/bin/simp_le --test
'';
propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm josepy ];
propagatedBuildInputs = with pythonPackages; [ acme setuptools_scm josepy idna ];
meta = with stdenv.lib; {
homepage = https://github.com/zenhack/simp_le;
@ -30,4 +32,3 @@ pythonPackages.buildPythonApplication rec {
platforms = platforms.all;
};
}