acme, certbot: 0.29.1 -> 0.30.2
* move to python3 * touchup deps
This commit is contained in:
parent
44c84d10f3
commit
e79e038b09
@ -1,34 +1,32 @@
|
|||||||
{ stdenv, pythonPackages, fetchFromGitHub, dialog }:
|
{ stdenv, python3Packages, fetchFromGitHub, dialog }:
|
||||||
|
|
||||||
# Latest version of certbot supports python3 and python3 version of pythondialog
|
python3Packages.buildPythonApplication rec {
|
||||||
|
pname = "certbot";
|
||||||
pythonPackages.buildPythonApplication rec {
|
version = "0.30.2";
|
||||||
name = "certbot-${version}";
|
|
||||||
version = "0.29.1";
|
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "certbot";
|
owner = pname;
|
||||||
repo = "certbot";
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "13gnqkvmh6mmlqsf18pw0wv6rp8fy0nbqhpw0sv3shkv7iqsmh2k";
|
sha256 = "0lycmxc6y7mk18irv8qdasw6hsqiiw5p34950h2f5s3vjc09wnw3";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = with pythonPackages; [
|
propagatedBuildInputs = with python3Packages; [
|
||||||
ConfigArgParse
|
ConfigArgParse
|
||||||
acme
|
acme
|
||||||
configobj
|
configobj
|
||||||
cryptography
|
cryptography
|
||||||
|
josepy
|
||||||
parsedatetime
|
parsedatetime
|
||||||
psutil
|
psutil
|
||||||
pyRFC3339
|
pyRFC3339
|
||||||
pyopenssl
|
pyopenssl
|
||||||
python2-pythondialog
|
|
||||||
pytz
|
pytz
|
||||||
six
|
six
|
||||||
zope_component
|
zope_component
|
||||||
zope_interface
|
zope_interface
|
||||||
];
|
];
|
||||||
buildInputs = [ dialog ] ++ (with pythonPackages; [ nose mock gnureadline ]);
|
buildInputs = [ dialog ] ++ (with python3Packages; [ mock gnureadline ]);
|
||||||
|
|
||||||
patchPhase = ''
|
patchPhase = ''
|
||||||
substituteInPlace certbot/notify.py --replace "/usr/sbin/sendmail" "/run/wrappers/bin/sendmail"
|
substituteInPlace certbot/notify.py --replace "/usr/sbin/sendmail" "/run/wrappers/bin/sendmail"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user