2011-08-29 21:26:26 +01:00
|
|
|
{stdenv, fetchurl, pkgconfig, glib, gtk, libxml2, bison, gettext, zlib}:
|
2006-04-18 19:46:36 +01:00
|
|
|
|
2011-08-29 21:26:26 +01:00
|
|
|
let
|
|
|
|
name = "gtk-gnutella";
|
2014-01-15 15:43:34 +00:00
|
|
|
version = "1.0.1";
|
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";
|
2014-01-15 15:43:34 +00:00
|
|
|
sha256 = "010gzk2xqqkm309qnj5k28ghh9i92vvpnn8ly9apzb5gh8bqfm0g";
|
2011-08-29 21:26:26 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.simons ];
|
2006-04-18 19:46:36 +01:00
|
|
|
};
|
|
|
|
}
|