Author: eelco
Date: Tue Apr 19 20:35:24 2011
New Revision: 26895
URL: https://svn.nixos.org/websvn/nix/?rev=26895&sc=1
Log:
* Added libpar2 and nzbget.
Added:
nixpkgs/trunk/pkgs/development/libraries/libpar2/
nixpkgs/trunk/pkgs/development/libraries/libpar2/default.nix
nixpkgs/trunk/pkgs/tools/networking/nzbget/
nixpkgs/trunk/pkgs/tools/networking/nzbget/default.nix
Added: nixpkgs/trunk/pkgs/development/libraries/libpar2/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/development/libraries/libpar2/default.nix Tue Apr
19 20:35:24 2011 (r26895)
@@ -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)";
+ };
+}
Added: nixpkgs/trunk/pkgs/tools/networking/nzbget/default.nix
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ nixpkgs/trunk/pkgs/tools/networking/nzbget/default.nix Tue Apr 19
20:35:24 2011 (r26895)
@@ -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";
+ };
+}
_______________________________________________
nix-commits mailing list
[email protected]
http://mail.cs.uu.nl/mailman/listinfo/nix-commits