1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 13:10:33 +00:00

gtk-gnutella: 1.0.1 -> 1.1.5

Still broken, though.
This commit is contained in:
Tobias Geerinckx-Rice 2016-01-13 01:43:57 +01:00
parent f85b5c4c07
commit 9888fbd8d2

View file

@ -1,28 +1,30 @@
{stdenv, fetchurl, pkgconfig, glib, gtk, libxml2, bison, gettext, zlib}:
{ stdenv, fetchurl, bison, pkgconfig
, glib, gtk, libxml2, gettext, zlib }:
let
name = "gtk-gnutella";
version = "1.0.1";
version = "1.1.5";
in
stdenv.mkDerivation {
name = "${name}-${version}";
src = fetchurl {
url = "mirror://sourceforge/${name}/${name}-${version}.tar.bz2";
sha256 = "010gzk2xqqkm309qnj5k28ghh9i92vvpnn8ly9apzb5gh8bqfm0g";
sha256 = "19d8mmyxrdwdafcjq1hvs9zn40yrcj1127163a2058svi0x08cn3";
};
buildInputs = [pkgconfig glib gtk libxml2 bison gettext zlib];
nativeBuildInputs = [ bison pkgconfig ];
buildInputs = [ glib gtk libxml2 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;
meta = with stdenv.lib; {
homepage = http://gtk-gnutella.sourceforge.net/;
description = "Server/client for Gnutella";
license = licenses.gpl2;
broken = true;
};
}