nixpkgs/pkgs/tools/networking/p2p/gtk-gnutella/default.nix

30 lines
786 B
Nix
Raw Normal View History

{ stdenv, fetchurl, bison, pkgconfig
2016-07-10 02:33:31 +00:00
, glib, gtk, libxml2, gettext, zlib, binutils, gnutls }:
let
name = "gtk-gnutella";
2016-07-10 02:33:31 +00:00
version = "1.1.9";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
2016-07-10 02:33:31 +00:00
sha256 = "1zvadgsskmpm82id9mbj24a2lyq38qv768ixv7nmfjl3d4wr2biv";
};
2016-07-10 02:33:31 +00:00
nativeBuildInputs = [ bison binutils gettext pkgconfig ];
buildInputs = [ glib gnutls gtk libxml2 zlib ];
hardeningDisable = [ "bindnow" "fortify" "pic" "relro" ];
2016-07-10 02:33:31 +00:00
configureScript = "./build.sh --configure-only";
meta = with stdenv.lib; {
homepage = http://gtk-gnutella.sourceforge.net/;
description = "Server/client for Gnutella";
license = licenses.gpl2;
platforms = platforms.unix;
};
}