mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
b4766c3d43
- Add SSL support by adding pyopenssl to PYTHONPATH - Update build script to use wrapPythonProgramsIn - Update the meta info
25 lines
731 B
Nix
25 lines
731 B
Nix
{stdenv, fetchurl, python, pythonPackages, par2cmdline, unzip, unrar}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "0.7.20";
|
|
name = "sabnzbd-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/sabnzbdplus/SABnzbd-${version}-src.tar.gz";
|
|
sha256 = "0hl7mwgyvm4d68346s7vlv0qlibfh2p2idpyzpjfvk8f79hs9cr0";
|
|
};
|
|
|
|
pythonPath = with pythonPackages; [ pyopenssl sqlite3 cheetah ];
|
|
buildInputs = with pythonPackages; [wrapPython];
|
|
inherit python par2cmdline unzip unrar;
|
|
|
|
builder = ./builder.sh;
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Usenet NZB downloader, par2 repairer and auto extracting server";
|
|
homepage = http://sabnzbd.org;
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|