diff options
author | Eelco Dolstra | 2005-08-30 07:39:38 +0000 |
---|---|---|
committer | Eelco Dolstra | 2005-08-30 07:39:38 +0000 |
commit | c27109efa0a8a451d937a85656cfa985fe41ce51 (patch) | |
tree | bf7c4d740685db26395d9dcff91190d4da13ac58 /pkgs/applications | |
parent | 8ab397a2ed75365329b64ea7b5889d2fa0ac4824 (diff) |
* Added Valknut.
svn path=/nixpkgs/trunk/; revision=3746
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/networking/p2p/valknut/builder.sh | 12 | ||||
-rw-r--r-- | pkgs/applications/networking/p2p/valknut/default.nix | 14 |
2 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/networking/p2p/valknut/builder.sh b/pkgs/applications/networking/p2p/valknut/builder.sh new file mode 100644 index 000000000000..5bf84a308e58 --- /dev/null +++ b/pkgs/applications/networking/p2p/valknut/builder.sh @@ -0,0 +1,12 @@ +addInputsHook=addBzip2 +addBzip2() { + bzip2=$(type -tP bzip2) + test -n $bzip2 || fail + buildInputs="$(dirname $(dirname $bzip2)) $buildInputs" +} + +source $stdenv/setup + +export configureFlags="--with-ssl-dir=$openssl --x-libraries=/no-such-dir" + +genericBuild diff --git a/pkgs/applications/networking/p2p/valknut/default.nix b/pkgs/applications/networking/p2p/valknut/default.nix new file mode 100644 index 000000000000..994f6b44f943 --- /dev/null +++ b/pkgs/applications/networking/p2p/valknut/default.nix @@ -0,0 +1,14 @@ +{stdenv, fetchurl, perl, x11, libxml2, libjpeg, libpng, openssl, qt, dclib}: + +stdenv.mkDerivation { + name = "valknut-0.3.7"; + builder = ./builder.sh; + + src = fetchurl { + url = http://download.berlios.de/dcgui/valknut-0.3.7.tar.bz2; + md5 = "848f9b3f25af15c3f1837133ac4b9415"; + }; + + buildInputs = [perl x11 libxml2 libjpeg libpng openssl qt dclib]; + inherit openssl; +} |