Skip to content

Commit

Permalink
sabnzbd: fixed typo in url and updated to 0.7.17
Browse files Browse the repository at this point in the history
  • Loading branch information
bflyblue committed Jun 7, 2014
1 parent 4dd5496 commit 0b62bef
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion pkgs/servers/sabnzbd/builder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ echo "$python/bin/python $out/SABnzbd.py \$*" > $out/bin/sabnzbd
chmod +x $out/bin/sabnzbd

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"
done

Expand Down
13 changes: 7 additions & 6 deletions pkgs/servers/sabnzbd/default.nix
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
{stdenv, fetchurl, python, cheetahTemplate, makeWrapper, par2cmdline, unzip, unrar}:
{stdenv, fetchurl, python, pythonPackages, cheetahTemplate, makeWrapper, par2cmdline, unzip, unrar}:

stdenv.mkDerivation {
name = "sabnzbd-0.4.12";
stdenv.mkDerivation rec {
name = "sabnzbd-0.7.17";

src = fetchurl {
url = mirro://sourceforge/sabnzbdplus/SABnzbd-0.4.12-src.tar.gz;
sha256 = "35ce4172688925ef608fba433ff676357dab7d2abdc1cf83112a1c99682fdd32";
url = mirror://sourceforge/sabnzbdplus/SABnzbd-0.7.17-src.tar.gz;
sha256 = "02gbh3q3qnbwy4xn1hw4i4fyw4j5nkrqy4ak46mxwqgip9ym20d5";
};

buildInputs = [makeWrapper python cheetahTemplate];
buildInputs = [makeWrapper python sqlite3 cheetahTemplate];
inherit stdenv python cheetahTemplate par2cmdline unzip unrar;
inherit (pythonPackages) sqlite3;

builder = ./builder.sh;

Expand Down

0 comments on commit 0b62bef

Please sign in to comment.