Merge remote-tracking branch 'upstream/master' into hardened-stdenv

This commit is contained in:
Robin Gloster
2016-05-30 19:39:34 +00:00
711 changed files with 49079 additions and 11672 deletions
@@ -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 = ''
+16 -9
View File
@@ -3,13 +3,20 @@
with python27Packages;
stdenv.mkDerivation rec {
version = "106.0.0";
name = "google-cloud-sdk-${version}";
version = "109.0.0";
src = fetchurl {
url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-106.0.0-linux-x86_64.tar.gz";
sha256 = "00jhpx32sfxcgl404plmb8122bs0ijl2rv25h17mnjn067nhz7nn";
};
src =
if stdenv.system == "i686-linux" then
fetchurl {
url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-linux-x86.tar.gz";
sha256 = "0jcg4pzqmkmpcp86rdi9hcqvvm61rqvl8spl2r1n4658w48h61x7";
}
else
fetchurl {
url = "https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/${name}-linux-x86_64.tar.gz";
sha256 = "1ii2ivh2na9933fhqrzsicihs6mpr10jgmml1fkdjmhmmp92zshd";
};
buildInputs = [python27 makeWrapper];
@@ -40,14 +47,14 @@ stdenv.mkDerivation rec {
rm -r $out/google-cloud-sdk/platform/gsutil/third_party/crcmod
'';
meta = {
meta = with stdenv.lib; {
description = "Tools for the google cloud platform";
longDescription = "The Google Cloud SDK. This package has the programs: gcloud, gsutil, and bq";
version = version;
# This package contains vendored dependencies. All have free licenses.
license = stdenv.lib.licenses.free;
license = licenses.free;
homepage = "https://cloud.google.com/sdk/";
maintainers = with stdenv.lib.maintainers; [stephenmw];
platforms = stdenv.lib.platforms.all;
maintainers = with maintainers; [stephenmw zimbatm];
platforms = platforms.linux;
};
}
+1 -1
View File
@@ -10,7 +10,7 @@ pythonPackages.buildPythonApplication rec {
sha256 = "0x8gqazn09m30bn1l7xnf8snhbb7yz7sb09imciqmm4jqdvn797z";
};
propagatedBuildInputs = with pythonPackages; [ acme ];
propagatedBuildInputs = with pythonPackages; [ acme_0_5_0 ];
meta = with stdenv.lib; {
inherit (src.meta) homepage;