2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, python2, makeWrapper }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
pythonEnv = python2.withPackages(ps: with ps; [ cheetah ]);
|
|
|
|
in stdenv.mkDerivation rec {
|
|
|
|
pname = "sickgear";
|
2021-04-08 16:26:57 +00:00
|
|
|
version = "0.23.15";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "SickGear";
|
|
|
|
repo = "SickGear";
|
|
|
|
rev = "release_${version}";
|
2021-04-08 16:26:57 +00:00
|
|
|
sha256 = "sha256-xZ2SgYSEamh+Z64VKvIemqJLH/WjJHFji5qIameF5hM=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
dontBuild = true;
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
nativeBuildInputs = [ makeWrapper ];
|
|
|
|
buildInputs = [ pythonEnv ];
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
mkdir -p $out/bin
|
|
|
|
cp -R {autoProcessTV,gui,lib,sickbeard,sickgear.py,SickBeard.py} $out/
|
|
|
|
|
|
|
|
makeWrapper $out/SickBeard.py $out/bin/sickgear
|
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "The most reliable stable TV fork of the great Sick-Beard to fully automate TV enjoyment with innovation";
|
|
|
|
license = licenses.gpl3;
|
|
|
|
homepage = "https://github.com/SickGear/SickGear";
|
2021-01-15 22:18:51 +00:00
|
|
|
maintainers = with lib.maintainers; [ rembo10 ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|