diff --git a/pkgs/servers/sickbeard/default.nix b/pkgs/servers/sickbeard/default.nix new file mode 100644 index 000000000000..4d6e181c61d2 --- /dev/null +++ b/pkgs/servers/sickbeard/default.nix @@ -0,0 +1,35 @@ +{ stdenv, fetchFromGitHub, python2, makeWrapper }: + +let + pythonEnv = python2.withPackages(ps: with ps; [ cheetah ]); +in python2.pkgs.buildPythonApplication rec { + name = "sickbeard-${version}"; + 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 + ''; + + meta = with stdenv.lib; { + description = "PVR & episode guide that downloads and manages all your TV shows"; + license = licenses.gpl3; + homepage = https:/github.com/midgetspy/Sick-Beard; + maintainers = with stdenv.lib.maintainers; [ ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index b77806ddec69..7be6b9e7c4f5 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13525,6 +13525,8 @@ with pkgs; # see also openssl, which has/had this same trick }; + sickbeard = callPackage ../servers/sickbeard { }; + sipcmd = callPackage ../applications/networking/sipcmd { }; sipwitch = callPackage ../servers/sip/sipwitch { };