nixpkgs/pkgs/servers/sabnzbd/default.nix

22 lines
651 B
Nix
Raw Normal View History

{stdenv, fetchurl, python, pythonPackages, cheetahTemplate, makeWrapper, par2cmdline, unzip, unrar}:
stdenv.mkDerivation rec {
2015-12-13 14:43:26 +00:00
version = "0.7.20";
name = "sabnzbd-${version}";
src = fetchurl {
2015-12-13 14:43:26 +00:00
url = "mirror://sourceforge/sabnzbdplus/SABnzbd-${version}-src.tar.gz";
sha256 = "0hl7mwgyvm4d68346s7vlv0qlibfh2p2idpyzpjfvk8f79hs9cr0";
};
buildInputs = [makeWrapper python sqlite3 cheetahTemplate];
inherit stdenv python cheetahTemplate par2cmdline unzip unrar;
inherit (pythonPackages) sqlite3;
builder = ./builder.sh;
meta = {
description = "Usenet NZB downloader, par2 repairer and auto extracting server";
};
}