2016-09-11 23:24:51 +02:00
|
|
|
{ stdenv, fetchurl, scons, pkgconfig, gtk2, bzip2, libglade, openssl
|
2015-04-19 15:55:04 +02:00
|
|
|
, libX11, boost, zlib, libnotify }:
|
2010-07-29 20:55:16 +02:00
|
|
|
|
2008-03-15 07:11:45 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2011-09-23 08:52:10 +02:00
|
|
|
name = "ldcpp-1.1.0";
|
2015-04-19 15:55:04 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = http://launchpad.net/linuxdcpp/1.1/1.1.0/+download/linuxdcpp-1.1.0.tar.bz2;
|
|
|
|
sha256 = "12i92hirmwryl1qy0n3jfrpziwzb82f61xca9jcjwyilx502f0b6";
|
|
|
|
};
|
2016-09-11 23:24:51 +02:00
|
|
|
buildInputs = [ scons pkgconfig gtk2 bzip2 libglade openssl libX11 boost libnotify ];
|
2015-04-19 15:55:04 +02:00
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
export NIX_LDFLAGS="$NIX_LDFLAGS -lX11";
|
|
|
|
|
|
|
|
touch gettext xgettext msgfmt msgcat
|
|
|
|
chmod +x gettext xgettext msgfmt msgcat
|
|
|
|
export PATH=$PATH:$PWD
|
|
|
|
|
|
|
|
mkdir -p $out
|
|
|
|
scons PREFIX=$out
|
|
|
|
scons PREFIX=$out install
|
|
|
|
'';
|
|
|
|
|
2011-09-23 08:52:10 +02:00
|
|
|
meta = {
|
2015-04-19 15:55:04 +02:00
|
|
|
description = "Direct Connect client";
|
|
|
|
license = stdenv.lib.licenses.gpl2;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = stdenv.lib.platforms.linux;
|
2011-09-23 08:52:10 +02:00
|
|
|
};
|
2008-03-15 07:11:45 +01:00
|
|
|
}
|