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