2016-01-13 00:43:57 +00:00
|
|
|
{ stdenv, fetchurl, bison, pkgconfig
|
|
|
|
, glib, gtk, libxml2, gettext, zlib }:
|
2006-04-18 19:46:36 +01:00
|
|
|
|
2011-08-29 21:26:26 +01:00
|
|
|
let
|
|
|
|
name = "gtk-gnutella";
|
2016-01-13 00:43:57 +00:00
|
|
|
version = "1.1.5";
|
2011-08-29 21:26:26 +01:00
|
|
|
in
|
2006-04-18 19:46:36 +01:00
|
|
|
stdenv.mkDerivation {
|
2011-08-29 21:26:26 +01:00
|
|
|
name = "${name}-${version}";
|
|
|
|
|
2006-04-18 19:46:36 +01:00
|
|
|
src = fetchurl {
|
2011-08-29 21:26:26 +01:00
|
|
|
url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
|
2016-01-13 00:43:57 +00:00
|
|
|
sha256 = "19d8mmyxrdwdafcjq1hvs9zn40yrcj1127163a2058svi0x08cn3";
|
2011-08-29 21:26:26 +01:00
|
|
|
};
|
|
|
|
|
2016-01-13 00:43:57 +00:00
|
|
|
nativeBuildInputs = [ bison pkgconfig ];
|
|
|
|
buildInputs = [ glib gtk libxml2 gettext zlib ];
|
2011-08-29 21:26:26 +01:00
|
|
|
|
|
|
|
NIX_LDFLAGS = "-rpath ${zlib}/lib";
|
|
|
|
configureScript = "./Configure";
|
|
|
|
dontAddPrefix = true;
|
|
|
|
configureFlags = "-d -e -D prefix=$out -D gtkversion=2 -D official=true";
|
|
|
|
|
2016-01-13 00:43:57 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://gtk-gnutella.sourceforge.net/;
|
|
|
|
description = "Server/client for Gnutella";
|
|
|
|
license = licenses.gpl2;
|
2014-04-26 14:54:18 +01:00
|
|
|
broken = true;
|
2006-04-18 19:46:36 +01:00
|
|
|
};
|
|
|
|
}
|