2016-01-13 00:43:57 +00:00
|
|
|
{ stdenv, fetchurl, bison, pkgconfig
|
2016-09-11 22:24:51 +01:00
|
|
|
, glib, gtk2, libxml2, gettext, zlib, binutils, gnutls }:
|
2006-04-18 19:46:36 +01:00
|
|
|
|
2011-08-29 21:26:26 +01:00
|
|
|
let
|
|
|
|
name = "gtk-gnutella";
|
2016-07-10 03:33:31 +01:00
|
|
|
version = "1.1.9";
|
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-07-10 03:33:31 +01:00
|
|
|
sha256 = "1zvadgsskmpm82id9mbj24a2lyq38qv768ixv7nmfjl3d4wr2biv";
|
2011-08-29 21:26:26 +01:00
|
|
|
};
|
|
|
|
|
2016-07-10 03:33:31 +01:00
|
|
|
nativeBuildInputs = [ bison binutils gettext pkgconfig ];
|
2016-09-11 22:24:51 +01:00
|
|
|
buildInputs = [ glib gnutls gtk2 libxml2 zlib ];
|
2011-08-29 21:26:26 +01:00
|
|
|
|
2016-09-01 18:53:17 +01:00
|
|
|
hardeningDisable = [ "bindnow" "fortify" "pic" "relro" ];
|
|
|
|
|
2016-07-10 03:33:31 +01:00
|
|
|
configureScript = "./build.sh --configure-only";
|
2011-08-29 21:26:26 +01:00
|
|
|
|
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;
|
2016-08-02 18:50:55 +01:00
|
|
|
platforms = platforms.unix;
|
2006-04-18 19:46:36 +01:00
|
|
|
};
|
|
|
|
}
|