nixpkgs-suyu/pkgs/development/libraries/gnutls/default.nix
Ludovic Courtès 1fffc63a27 GnuTLS 2.2.5 (security fix).
svn path=/nixpkgs/trunk/; revision=11872
2008-05-21 13:17:14 +00:00

31 lines
725 B
Nix

{ fetchurl, stdenv, zlib, lzo, libgcrypt
, guileBindings, guile }:
assert guileBindings -> guile != null;
stdenv.mkDerivation rec {
name = "gnutls-2.2.5";
src = fetchurl {
url = "mirror://gnu/gnutls/${name}.tar.bz2";
sha256 = "0mxf4pwv17lf4c2b3bh70wn35y9f45325am1ywkmw2azbfyqj9ng";
};
patches = [ ./tmpdir.patch ];
configurePhase = ''
./configure --prefix="$out" --enable-guile --with-guile-site-dir="$out/share/guile/site"
'';
buildInputs = [zlib lzo libgcrypt]
++ (if guileBindings then [guile] else []);
doCheck = true;
meta = {
description = "The GNU Transport Layer Security Library";
homepage = http://www.gnu.org/software/gnutls/;
license = "LGPLv2.1+";
};
}