1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
nixpkgs/pkgs/tools/networking/p2p/gtk-gnutella/default.nix
Peter Simons 3c08cdce48 gtk-gnutella: mark as "broken"
The current version doesn't compile with the latest GCC any more.
2014-04-26 15:54:18 +02:00

29 lines
766 B
Nix

{stdenv, fetchurl, pkgconfig, glib, gtk, libxml2, bison, gettext, zlib}:
let
name = "gtk-gnutella";
version = "1.0.1";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
sha256 = "010gzk2xqqkm309qnj5k28ghh9i92vvpnn8ly9apzb5gh8bqfm0g";
};
buildInputs = [pkgconfig glib gtk libxml2 bison gettext zlib];
NIX_LDFLAGS = "-rpath ${zlib}/lib";
configureScript = "./Configure";
dontAddPrefix = true;
configureFlags = "-d -e -D prefix=$out -D gtkversion=2 -D official=true";
meta = {
homepage = "http://gtk-gnutella.sourceforge.net/";
description = "a server/client for Gnutella";
license = stdenv.lib.licenses.gpl2;
broken = true;
};
}