2015-12-13 14:45:14 +00:00
|
|
|
{stdenv, fetchurl, python, pythonPackages, par2cmdline, unzip, unrar}:
|
2009-11-08 19:53:54 +00:00
|
|
|
|
2014-06-07 13:58:41 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2015-12-13 14:43:26 +00:00
|
|
|
version = "0.7.20";
|
|
|
|
name = "sabnzbd-${version}";
|
2015-12-13 14:45:14 +00:00
|
|
|
|
2009-11-08 19:53:54 +00:00
|
|
|
src = fetchurl {
|
2015-12-13 14:43:26 +00:00
|
|
|
url = "mirror://sourceforge/sabnzbdplus/SABnzbd-${version}-src.tar.gz";
|
|
|
|
sha256 = "0hl7mwgyvm4d68346s7vlv0qlibfh2p2idpyzpjfvk8f79hs9cr0";
|
2009-11-08 19:53:54 +00:00
|
|
|
};
|
|
|
|
|
2015-12-13 14:45:14 +00:00
|
|
|
pythonPath = with pythonPackages; [ pyopenssl sqlite3 cheetah ];
|
|
|
|
buildInputs = with pythonPackages; [wrapPython];
|
|
|
|
inherit python par2cmdline unzip unrar;
|
2009-11-08 19:53:54 +00:00
|
|
|
|
|
|
|
builder = ./builder.sh;
|
2015-12-13 14:45:14 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2013-10-06 10:49:53 +01:00
|
|
|
description = "Usenet NZB downloader, par2 repairer and auto extracting server";
|
2015-12-13 14:45:14 +00:00
|
|
|
homepage = http://sabnzbd.org;
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2009-11-08 19:53:54 +00:00
|
|
|
};
|
|
|
|
}
|