diff options
-rw-r--r-- | pkgs/development/libraries/libpar2/default.nix | 18 | ||||
-rw-r--r-- | pkgs/tools/networking/nzbget/default.nix | 25 |
2 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libpar2/default.nix b/pkgs/development/libraries/libpar2/default.nix new file mode 100644 index 0000000000000..85e8bad890662 --- /dev/null +++ b/pkgs/development/libraries/libpar2/default.nix @@ -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)"; + }; +} diff --git a/pkgs/tools/networking/nzbget/default.nix b/pkgs/tools/networking/nzbget/default.nix new file mode 100644 index 0000000000000..8a2e8eeb72fa3 --- /dev/null +++ b/pkgs/tools/networking/nzbget/default.nix @@ -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"; + }; +} |