Merge branch 'staging'

This commit is contained in:
Franz Pletz 2017-01-11 15:43:13 +01:00
commit 59ce8fd90e
No known key found for this signature in database
GPG Key ID: 846FDED7792617B4
6 changed files with 19 additions and 12 deletions

View File

@ -1,10 +1,10 @@
{ callPackage, fetchurl, ... } @ args: { callPackage, fetchurl, ... } @ args:
callPackage ./generic.nix (args // rec { callPackage ./generic.nix (args // rec {
version = "3.3.25"; version = "3.3.26";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-${version}.tar.xz"; url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.3/gnutls-${version}.tar.xz";
sha256 = "0bhzkzpzwg3lhbhpas7m4rcj4mrnyq76zmic9z42wpa68d76r78q"; sha256 = "1n90qyz54hhnmf4fmap6zdyv7nihz6mrbqgxhd46h7aqdcmqhzba";
}; };
}) })

View File

@ -1,10 +1,10 @@
{ callPackage, fetchurl, autoreconfHook, ... } @ args: { callPackage, fetchurl, ... } @ args:
callPackage ./generic.nix (args // rec { callPackage ./generic.nix (args // rec {
version = "3.4.16"; version = "3.4.17";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz"; url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.4/gnutls-${version}.tar.xz";
sha256 = "09rrjaflgp5p0hi5gqljklz1xpalnvj8bawvjj6baw8768dvp6nr"; sha256 = "0bhp8cqrmw15yins65cn0zwbcpj1vmymr4wnbm151sfmf2kfhl4v";
}; };
}) })

View File

@ -1,10 +1,12 @@
{ callPackage, fetchurl, autoreconfHook, ... } @ args: { callPackage, fetchurl, libunistring, ... } @ args:
callPackage ./generic.nix (args // rec { callPackage ./generic.nix (args // rec {
version = "3.5.5"; version = "3.5.8";
src = fetchurl { src = fetchurl {
url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-${version}.tar.xz"; url = "ftp://ftp.gnutls.org/gcrypt/gnutls/v3.5/gnutls-${version}.tar.xz";
sha256 = "0ag5q3dfxzv0dmqy7q0a8y74yc3m5yzvjrp324l6vqafh3klz6c6"; sha256 = "1zyl2z63s68hx1dpxqx0lykmlf3rwrzlrf44sq3h7dvjmr1z55qf";
}; };
buildInputs = [ libunistring ];
}) })

View File

@ -4,6 +4,7 @@
# Version dependent args # Version dependent args
, version, src, patches ? [], postPatch ? "", nativeBuildInputs ? [] , version, src, patches ? [], postPatch ? "", nativeBuildInputs ? []
, buildInputs ? []
, ...}: , ...}:
assert guileBindings -> guile != null; assert guileBindings -> guile != null;
@ -41,7 +42,8 @@ stdenv.mkDerivation {
++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) libiconv ++ lib.optional (stdenv.isFreeBSD || stdenv.isDarwin) libiconv
++ lib.optional (tpmSupport && stdenv.isLinux) trousers ++ lib.optional (tpmSupport && stdenv.isLinux) trousers
++ [ unbound ] ++ [ unbound ]
++ lib.optional guileBindings guile; ++ lib.optional guileBindings guile
++ buildInputs;
nativeBuildInputs = [ perl pkgconfig ] ++ nativeBuildInputs; nativeBuildInputs = [ perl pkgconfig ] ++ nativeBuildInputs;
@ -75,7 +77,7 @@ stdenv.mkDerivation {
homepage = http://www.gnu.org/software/gnutls/; homepage = http://www.gnu.org/software/gnutls/;
license = licenses.lgpl21Plus; license = licenses.lgpl21Plus;
maintainers = with maintainers; [ eelco wkennington ]; maintainers = with maintainers; [ eelco wkennington fpletz ];
platforms = platforms.all; platforms = platforms.all;
}; };
} }

View File

@ -1,11 +1,11 @@
{ stdenv, fetchurl, perl, texinfo }: { stdenv, fetchurl, perl, texinfo }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "libtasn1-4.8"; name = "libtasn1-4.9";
src = fetchurl { src = fetchurl {
url = "mirror://gnu/libtasn1/${name}.tar.gz"; url = "mirror://gnu/libtasn1/${name}.tar.gz";
sha256 = "04y5m29pqmvkfdbppmsdifyx89v8xclxzklpfc7a1fkr9p4jz07s"; sha256 = "0869cp6jx7cajgv6cnddsh3vc7bimmdkdjn80y1jpb4iss7plvsg";
}; };
outputs = [ "out" "dev" "devdoc" ]; outputs = [ "out" "dev" "devdoc" ];

View File

@ -19,10 +19,13 @@ stdenv.mkDerivation rec {
[ "--enable-overlays" [ "--enable-overlays"
"--disable-dependency-tracking" # speeds up one-time build "--disable-dependency-tracking" # speeds up one-time build
"--enable-modules" "--enable-modules"
"--sysconfdir=/etc"
] ++ stdenv.lib.optional (openssl == null) "--without-tls" ] ++ stdenv.lib.optional (openssl == null) "--without-tls"
++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl" ++ stdenv.lib.optional (cyrus_sasl == null) "--without-cyrus-sasl"
++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic"; ++ stdenv.lib.optional stdenv.isFreeBSD "--with-pic";
installFlags = [ "sysconfdir=$(out)/etc" ];
# 1. Fixup broken libtool # 1. Fixup broken libtool
# 2. Libraries left in the build location confuse `patchelf --shrink-rpath` # 2. Libraries left in the build location confuse `patchelf --shrink-rpath`
# Delete these to let patchelf discover the right path instead. # Delete these to let patchelf discover the right path instead.