1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00

GnuTLS 2.6.6, with Guile bindings by default.

svn path=/nixpkgs/trunk/; revision=15416
This commit is contained in:
Ludovic Courtès 2009-04-30 18:43:48 +00:00
parent 2d1bcbeacf
commit 5773834497
2 changed files with 7 additions and 4 deletions

View file

@ -5,17 +5,20 @@ assert guileBindings -> guile != null;
stdenv.mkDerivation rec {
name = "gnutls-2.6.5";
name = "gnutls-2.6.6";
src = fetchurl {
url = "mirror://gnu/gnutls/${name}.tar.bz2";
sha256 = "1jq1alccg4fzr3xnq5j3igwsyypw855jqx7iri4bf2ic0wvfd2z7";
sha256 = "17nwmf7hfcjpwi1hmnkjjrygwn1wjripdf391is8ay6aa65mpn03";
};
patches = [ ./tmpdir.patch ];
configurePhase = ''
./configure --prefix="$out" --enable-guile --with-guile-site-dir="$out/share/guile/site"
./configure --prefix="$out" \
${if guileBindings
then "--enable-guile --with-guile-site-dir=\"$out/share/guile/site\""
else ""}
'';
buildInputs = [zlib lzo]

View file

@ -3101,7 +3101,7 @@ let
gnutls = import ../development/libraries/gnutls {
inherit fetchurl stdenv libgcrypt zlib lzo guile;
guileBindings = getConfig ["gnutls" "guile"] false;
guileBindings = getConfig ["gnutls" "guile"] true;
};
gpgme = import ../development/libraries/gpgme {