* Added libpar2 and nzbget.
svn path=/nixpkgs/trunk/; revision=26895
This commit is contained in:
parent
1cdd246d2b
commit
b2c4b433b4
18
pkgs/development/libraries/libpar2/default.nix
Normal file
18
pkgs/development/libraries/libpar2/default.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ stdenv, fetchurl, pkgconfig, libsigcxx }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libpar2-0.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/parchive/${name}.tar.gz";
|
||||
sha256 = "024r37wi01d1pfkk17l5lk0ci0cc0xhy5z050hzf3cbk1y2bykq7";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig libsigcxx ];
|
||||
|
||||
meta = {
|
||||
homepage = http://parchive.sourceforge.net/;
|
||||
license = "GPLv2+";
|
||||
description = "A library for using Parchives (parity archive volume sets)";
|
||||
};
|
||||
}
|
25
pkgs/tools/networking/nzbget/default.nix
Normal file
25
pkgs/tools/networking/nzbget/default.nix
Normal 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";
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue