* Added libpar2 and nzbget.

svn path=/nixpkgs/trunk/; revision=26895
This commit is contained in:
Eelco Dolstra
2011-04-19 20:35:24 +00:00
parent 1cdd246d2b
commit b2c4b433b4
2 changed files with 43 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
{ stdenv, fetchurl, pkgconfig, libxml2, ncurses, libsigcxx, libpar2
, gnutls, libgcrypt }:
stdenv.mkDerivation rec {
name = "nzbget-0.7.0";
src = fetchurl {
url = "mirror://sourceforge/nzbget/${name}.tar.gz";
sha256 = "07kp2rwxzgcr7zrs65hwkva7l3s4czq4vxwmkbhv85k8kz6bp65p";
};
buildInputs = [ pkgconfig libxml2 ncurses libsigcxx libpar2 gnutls libgcrypt ];
postInstall =
''
mkdir -p $out/etc
cp nzbget.conf.example $out/etc/
'';
meta = {
homepage = http://nzbget.sourceforge.net/;
license = "GPLv2+";
description = "A command line tool for downloading files from news servers";
};
}