summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/sickbeard/sickgear.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2020-04-17 19:21:16 +0200
committertv <tv@krebsco.de>2020-04-17 19:21:16 +0200
commite1bfdd8d839929538d36e421908a96407b3aa0ab (patch)
tree557bf9a711f06997e846a5ef14a4105248f1da8c /makefu/2configs/sickbeard/sickgear.nix
parent6ace0f7b6941c1c9476d84944cdba8bedf98d95d (diff)
parent07f18d851a974ee594c92e3332f167ef3b1d259f (diff)
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/2configs/sickbeard/sickgear.nix')
-rw-r--r--makefu/2configs/sickbeard/sickgear.nix14
1 files changed, 9 insertions, 5 deletions
diff --git a/makefu/2configs/sickbeard/sickgear.nix b/makefu/2configs/sickbeard/sickgear.nix
index 1b7a57e8b..9746ee073 100644
--- a/makefu/2configs/sickbeard/sickgear.nix
+++ b/makefu/2configs/sickbeard/sickgear.nix
@@ -1,16 +1,19 @@
-{ stdenv, fetchFromGitHub, python2, makeWrapper }:
+{ stdenv, fetchFromGitHub, python3, makeWrapper }:
let
- pythonEnv = python2.withPackages(ps: with ps; [ cheetah ]);
+ pythonEnv = python3.withPackages(ps: with ps; [
+ (python3.pkgs.callPackage ./cheetah3.nix {})
+ ]);
in stdenv.mkDerivation rec {
pname = "sickgear";
- version = "0.20.0";
+ #version = "0.21.6";
+ version = "0.21.21";
src = fetchFromGitHub {
owner = "SickGear";
repo = "SickGear";
rev = "release_${version}";
- sha256 = "1zg95szvfbmwinx1z5nlbmyck7ximvyna0x71yflmadkgf88nv0k";
+ sha256 = "15nlxg2867l846qqxklmfyqmn5nc01ksd4lpwbrbjdzpk4y3xi78";
};
dontBuild = true;
@@ -18,12 +21,13 @@ in stdenv.mkDerivation rec {
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ pythonEnv ];
+ patches = [ ./debug.patch ];
installPhase = ''
mkdir -p $out/bin
cp -R {autoProcessTV,gui,lib,sickbeard,sickgear.py,SickBeard.py} $out/
- makeWrapper $out/SickBeard.py $out/bin/sickgear
+ makeWrapper $out/sickgear.py $out/bin/sickgear
'';
meta = with stdenv.lib; {