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

This commit is contained in:
Robin Gloster
2016-03-15 01:44:24 +00:00
550 changed files with 9204 additions and 3225 deletions
+4
View File
@@ -1,6 +1,7 @@
{ stdenv, fetchurl, perl, zlib, apr, aprutil, pcre, libiconv
, proxySupport ? true
, sslSupport ? true, openssl
, http2Support ? true, libnghttp2
, ldapSupport ? true, openldap
, libxml2Support ? true, libxml2
, luaSupport ? false, lua5
@@ -12,6 +13,7 @@ in
assert sslSupport -> aprutil.sslSupport && openssl != null;
assert ldapSupport -> aprutil.ldapSupport && openldap != null;
assert http2Support -> libnghttp2 != null;
stdenv.mkDerivation rec {
version = "2.4.18";
@@ -25,6 +27,7 @@ stdenv.mkDerivation rec {
buildInputs = [perl] ++
optional ldapSupport openldap ++ # there is no --with-ldap flag
optional libxml2Support libxml2 ++
optional http2Support libnghttp2 ++
optional stdenv.isDarwin libiconv;
# Required for pthread_cancel.
@@ -44,6 +47,7 @@ stdenv.mkDerivation rec {
--enable-cgi
${optionalString proxySupport "--enable-proxy"}
${optionalString sslSupport "--enable-ssl --with-ssl=${openssl}"}
${optionalString http2Support "--enable-http2 --with-nghttp2=${libnghttp2}"}
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
${optionalString libxml2Support "--with-libxml2=${libxml2}/include/libxml2"}
'';
+2 -2
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "apt-cacher-ng-${version}";
version = "0.8.6";
version = "0.8.9";
src = fetchurl {
url = "http://ftp.debian.org/debian/pool/main/a/apt-cacher-ng/apt-cacher-ng_${version}.orig.tar.xz";
sha256 = "0044dfks8djl11fs28jj8894i4rq424xix3d3fkvzz2i6lnp8nr5";
sha256 = "15zkacy8n6fiklqpdk139pa7qssynrr9akv5h54ky1l53n0k70m6";
};
NIX_LDFLAGS = "-lpthread";
+10
View File
@@ -1,6 +1,16 @@
{ fetchFromGitHub, pkgs }:
{
brotli = {
src = fetchFromGitHub {
owner = "google";
repo = "ngx_brotli";
rev = "788615eab7c5e0a984278113c55248305620df14";
sha256 = "02514bbjdhm9m38vljdh626d3c1783jxsxawv5c6bzblwmb8xgvf";
};
inputs = [ pkgs.libbrotli ];
};
rtmp = {
src = fetchFromGitHub {
owner = "arut";