2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, python2, makeWrapper }:
|
2018-09-13 14:11:59 +02:00
|
|
|
|
|
|
|
let
|
|
|
|
pythonEnv = python2.withPackages(ps: with ps; [ cheetah ]);
|
2019-08-13 23:52:01 +02:00
|
|
|
in stdenv.mkDerivation {
|
2019-02-17 13:31:23 +01:00
|
|
|
pname = "sickbeard";
|
2018-09-13 14:11:59 +02:00
|
|
|
version = "2016-03-21";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "midgetspy";
|
|
|
|
repo = "Sick-Beard";
|
|
|
|
rev = "171a607e41b7347a74cc815f6ecce7968d9acccf";
|
|
|
|
sha256 = "16bn13pvzl8w6nxm36ii724x48z1cnf8y5fl0m5ig1vpqfypk5vq";
|
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ pythonEnv ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -R {autoProcessTV,cherrypy,data,lib,sickbeard,SickBeard.py} $out/
|
|
|
|
|
|
|
|
makeWrapper $out/SickBeard.py $out/bin/sickbeard
|
|
|
|
'';
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2018-09-13 14:11:59 +02:00
|
|
|
description = "PVR & episode guide that downloads and manages all your TV shows";
|
|
|
|
license = licenses.gpl3;
|
2019-07-02 06:12:25 +02:00
|
|
|
homepage = "https://github.com/midgetspy/Sick-Beard";
|
2021-01-15 08:07:56 +01:00
|
|
|
maintainers = with lib.maintainers; [ ];
|
2018-09-13 14:11:59 +02:00
|
|
|
};
|
|
|
|
}
|