1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/tools/networking/p2p/gtk-gnutella/default.nix
John Ericson 70d91badf5 treewide: Depend on stdenv.cc.bintools instead of binutils directly
One should do this when needed executables at build time. It is more
honest and cross-friendly than refering to binutils directly.
2017-11-05 17:10:53 -05:00

30 lines
788 B
Nix

{ stdenv, fetchurl, bison, pkgconfig
, glib, gtk2, libxml2, gettext, zlib, binutils, gnutls }:
let
name = "gtk-gnutella";
version = "1.1.9";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
sha256 = "1zvadgsskmpm82id9mbj24a2lyq38qv768ixv7nmfjl3d4wr2biv";
};
nativeBuildInputs = [ bison gettext pkgconfig ];
buildInputs = [ binutils glib gnutls gtk2 libxml2 zlib ];
hardeningDisable = [ "bindnow" "fortify" "pic" "relro" ];
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;
};
}