3
0
Fork 0
forked from mirrors/nixpkgs

sabnzbd: fixed typo in url and updated to 0.7.17

This commit is contained in:
Shaun Sharples 2014-06-07 14:58:41 +02:00
parent 4dd5496bd4
commit 0b62bef7f1
2 changed files with 8 additions and 7 deletions
pkgs/servers/sabnzbd

View file

@ -9,7 +9,7 @@ echo "$python/bin/python $out/SABnzbd.py \$*" > $out/bin/sabnzbd
chmod +x $out/bin/sabnzbd chmod +x $out/bin/sabnzbd
for i in $(cd $out/bin && ls); do for i in $(cd $out/bin && ls); do
wrapProgram $out/bin/$i --prefix PYTHONPATH : "$(toPythonPath $python):$(toPythonPath $out):$(toPythonPath $cheetahTemplate)" \ wrapProgram $out/bin/$i --prefix PYTHONPATH : "$(toPythonPath $python):$(toPythonPath $out):$(toPythonPath $cheetahTemplate):$(toPythonPath $sqlite3)" \
--prefix PATH : "$par2cmdline/bin:$unzip/bin:$unrar/bin" --prefix PATH : "$par2cmdline/bin:$unzip/bin:$unrar/bin"
done done

View file

@ -1,15 +1,16 @@
{stdenv, fetchurl, python, cheetahTemplate, makeWrapper, par2cmdline, unzip, unrar}: {stdenv, fetchurl, python, pythonPackages, cheetahTemplate, makeWrapper, par2cmdline, unzip, unrar}:
stdenv.mkDerivation { stdenv.mkDerivation rec {
name = "sabnzbd-0.4.12"; name = "sabnzbd-0.7.17";
src = fetchurl { src = fetchurl {
url = mirro://sourceforge/sabnzbdplus/SABnzbd-0.4.12-src.tar.gz; url = mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.17-src.tar.gz;
sha256 = "35ce4172688925ef608fba433ff676357dab7d2abdc1cf83112a1c99682fdd32"; sha256 = "02gbh3q3qnbwy4xn1hw4i4fyw4j5nkrqy4ak46mxwqgip9ym20d5";
}; };
buildInputs = [makeWrapper python cheetahTemplate]; buildInputs = [makeWrapper python sqlite3 cheetahTemplate];
inherit stdenv python cheetahTemplate par2cmdline unzip unrar; inherit stdenv python cheetahTemplate par2cmdline unzip unrar;
inherit (pythonPackages) sqlite3;
builder = ./builder.sh; builder = ./builder.sh;