mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
acme, certbot: 0.29.1 -> 0.30.2
* move to python3 * touchup deps
This commit is contained in:
parent
44c84d10f3
commit
e79e038b09
1 changed files with 10 additions and 12 deletions
|
@ -1,34 +1,32 @@
|
|||
{ stdenv, pythonPackages, fetchFromGitHub, dialog }:
|
||||
{ stdenv, python3Packages, fetchFromGitHub, dialog }:
|
||||
|
||||
# Latest version of certbot supports python3 and python3 version of pythondialog
|
||||
|
||||
pythonPackages.buildPythonApplication rec {
|
||||
name = "certbot-${version}";
|
||||
version = "0.29.1";
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "certbot";
|
||||
version = "0.30.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "certbot";
|
||||
repo = "certbot";
|
||||
owner = pname;
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "13gnqkvmh6mmlqsf18pw0wv6rp8fy0nbqhpw0sv3shkv7iqsmh2k";
|
||||
sha256 = "0lycmxc6y7mk18irv8qdasw6hsqiiw5p34950h2f5s3vjc09wnw3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with pythonPackages; [
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
ConfigArgParse
|
||||
acme
|
||||
configobj
|
||||
cryptography
|
||||
josepy
|
||||
parsedatetime
|
||||
psutil
|
||||
pyRFC3339
|
||||
pyopenssl
|
||||
python2-pythondialog
|
||||
pytz
|
||||
six
|
||||
zope_component
|
||||
zope_interface
|
||||
];
|
||||
buildInputs = [ dialog ] ++ (with pythonPackages; [ nose mock gnureadline ]);
|
||||
buildInputs = [ dialog ] ++ (with python3Packages; [ mock gnureadline ]);
|
||||
|
||||
patchPhase = ''
|
||||
substituteInPlace certbot/notify.py --replace "/usr/sbin/sendmail" "/run/wrappers/bin/sendmail"
|
||||
|
|
Loading…
Reference in a new issue