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