diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2008-03-15 06:11:45 +0000 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2008-03-15 06:11:45 +0000 |
commit | f87e85c2a8eedf735023a923e4050cbf11b1216a (patch) | |
tree | 043213f0a073c5c30c5e38698cf67ce0d7e02b3d /pkgs/applications/networking | |
parent | eb058a54b390be10143ad226dbcc6478e13eb9d8 (diff) |
Added LinuxDC++. Claimed to support newer protocol - claim is by valknut team..
svn path=/nixpkgs/trunk/; revision=11132
Diffstat (limited to 'pkgs/applications/networking')
-rw-r--r-- | pkgs/applications/networking/p2p/ldcpp/1.0.1.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/ldcpp/1.0.1.nix b/pkgs/applications/networking/p2p/ldcpp/1.0.1.nix new file mode 100644 index 0000000000000..ea1f6b1b84b2a --- /dev/null +++ b/pkgs/applications/networking/p2p/ldcpp/1.0.1.nix @@ -0,0 +1,31 @@ +args : with args; with builderDefs {src="";} null; + let localDefs = builderDefs (rec { + src = /* put a fetchurl here */ + fetchurl { + url = http://download2.berlios.de/linuxdcpp/linuxdcpp-1.0.1.tar.bz2; + sha256 = "0f0vvsa3x3nirqnf2lagpmbbj3pgdcp6wa2gvadj294b3va4hx34"; + }; + + buildInputs = [scons pkgconfig gtk bzip2 pkgconfig libglade + openssl libX11]; + configureFlags = []; + doScons = FullDepEntry ('' + ensureDir $out + export NIX_LDFLAGS="$NIX_LDFLAGS -lX11"; + scons PREFIX=$out + scons PREFIX=$out install + '') ["minInit" "doUnpack" "addInputs" "defEnsureDir"]; + }) args null; /* null is a terminator for sumArgs */ + in with localDefs; +stdenv.mkDerivation rec { + name = "ldcpp-"+version; + builder = writeScript (name + "-builder") + (textClosure localDefs + [doScons doForceShare doPropagate]); + meta = { + description = " + Linux DC++ - Direct Connect client +"; + inherit src; + }; +} |