diff options
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; +} |