3
0
Fork 0
forked from mirrors/nixpkgs

certbot: 0.5.0 -> 0.6.0; rename from letsencrypt

This commit is contained in:
Tobias Geerinckx-Rice 2016-05-16 22:39:34 +02:00
parent 5940056af6
commit 9414e2d536
No known key found for this signature in database
GPG key ID: 91CCDB9B48541B99
4 changed files with 9 additions and 8 deletions

View file

@ -1,14 +1,14 @@
{ stdenv, pythonPackages, fetchFromGitHub, dialog }:
pythonPackages.buildPythonApplication rec {
name = "letsencrypt-${version}";
version = "0.5.0";
name = "certbot-${version}";
version = "0.6.0";
src = fetchFromGitHub {
owner = "certbot";
repo = "certbot";
rev = "v${version}";
sha256 = "0x098cdyfgqvh7x5d3sz56qjpjyg5b4fl82086sm43d8mbz0h5rm";
sha256 = "1x0prlldkgg0hxmya4m5h3k3c872wr0jylmzpr3m04mk339yiw0c";
};
propagatedBuildInputs = with pythonPackages; [
@ -29,8 +29,8 @@ pythonPackages.buildPythonApplication rec {
buildInputs = [ dialog ] ++ (with pythonPackages; [ nose mock gnureadline ]);
patchPhase = ''
substituteInPlace letsencrypt/notify.py --replace "/usr/sbin/sendmail" "/var/setuid-wrappers/sendmail"
substituteInPlace letsencrypt/le_util.py --replace "sw_vers" "/usr/bin/sw_vers"
substituteInPlace certbot/notify.py --replace "/usr/sbin/sendmail" "/var/setuid-wrappers/sendmail"
substituteInPlace certbot/le_util.py --replace "sw_vers" "/usr/bin/sw_vers"
'';
postInstall = ''

View file

@ -54,6 +54,7 @@ doNotDisplayTwice rec {
inotifyTools = inotify-tools;
joseki = apache-jena-fuseki; # added 2016-02-28
jquery_ui = jquery-ui; # added 2014-09-07
letsencrypt = certbot; # added 2016-05-16
libdbusmenu_qt5 = qt5.libdbusmenu; # added 2015-12-19
libcap_manpages = libcap.doc; # added 2016-04-29
libcap_pam = if stdenv.isLinux then libcap.pam else null; # added 2016-04-29

View file

@ -6652,6 +6652,8 @@ in
cegui = callPackage ../development/libraries/cegui {};
certbot = callPackage ../tools/admin/certbot { };
cgal = callPackage ../development/libraries/CGAL {};
cgui = callPackage ../development/libraries/cgui {};
@ -7452,8 +7454,6 @@ in
libpng = libpng12;
};
letsencrypt = callPackage ../tools/admin/letsencrypt { };
lib3ds = callPackage ../development/libraries/lib3ds { };
libaacs = callPackage ../development/libraries/libaacs { };

View file

@ -371,7 +371,7 @@ in modules // {
};
acme = buildPythonPackage rec {
inherit (pkgs.letsencrypt) src version;
inherit (pkgs.certbot) src version;
name = "acme-${version}";