gnunet: removing gtk dependencies

gnunet does not depend anymore on gtk. There is a separate package,
gnunet-gtk, still not in nixpkgs.
This commit is contained in:
Lluís Batlle i Rossell 2012-07-11 20:07:00 +02:00
parent db46c668b8
commit 715737b3ac

View File

@ -1,11 +1,8 @@
{ stdenv, fetchurl, libextractor, libmicrohttpd, libgcrypt
, zlib, gmp, curl, libtool, adns, sqlite, pkgconfig
, libxml2, ncurses, gettext, libunistring
, gtkSupport ? false, gtk ? null, libglade ? null
, makeWrapper }:
assert gtkSupport -> (gtk != null) && (libglade != null);
stdenv.mkDerivation rec {
name = "gnunet-0.9.3";
@ -18,7 +15,7 @@ stdenv.mkDerivation rec {
libextractor libmicrohttpd libgcrypt gmp curl libtool
zlib adns sqlite libxml2 ncurses
pkgconfig gettext libunistring makeWrapper
] ++ (if gtkSupport then [ gtk libglade ] else []);
];
preConfigure = ''
# Brute force: since nix-worker chroots don't provide