nixpkgs/pkgs/tools/networking/nzbget/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
884 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchurl, pkg-config, libxml2, ncurses, libsigcxx, libpar2
, gnutls, libgcrypt, zlib, openssl, nixosTests }:
stdenv.mkDerivation rec {
pname = "nzbget";
2021-08-15 13:19:09 +00:00
version = "21.1";
src = fetchurl {
url = "https://github.com/nzbget/nzbget/releases/download/v${version}/nzbget-${version}-src.tar.gz";
2021-08-15 13:19:09 +00:00
sha256 = "sha256-To/BvrgNwq8tajajOjP0Te3d1EhgAsZE9MR5MEMHICU=";
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ pkg-config ];
2017-05-01 10:02:44 +00:00
buildInputs = [ libxml2 ncurses libsigcxx libpar2 gnutls
libgcrypt zlib openssl ];
2013-01-06 21:29:16 +00:00
enableParallelBuilding = true;
passthru.tests = { inherit (nixosTests) nzbget; };
meta = with lib; {
homepage = "https://nzbget.net";
license = licenses.gpl2Plus;
description = "A command line tool for downloading files from news servers";
maintainers = with maintainers; [ pSub ];
platforms = with platforms; unix;
};
}