From 6fb62ac2857e03e5722be90e5fe076939b91261a Mon Sep 17 00:00:00 2001 From: rembo10 Date: Thu, 13 Sep 2018 14:37:12 +0200 Subject: [PATCH] sickrage: init at v2018.07.21-1 --- pkgs/servers/sickbeard/sickrage.nix | 34 +++++++++++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 2 files changed, 36 insertions(+) create mode 100644 pkgs/servers/sickbeard/sickrage.nix diff --git a/pkgs/servers/sickbeard/sickrage.nix b/pkgs/servers/sickbeard/sickrage.nix new file mode 100644 index 000000000000..6ee119520b41 --- /dev/null +++ b/pkgs/servers/sickbeard/sickrage.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchFromGitHub, python2, makeWrapper }: + +python2.pkgs.buildPythonApplication rec { + name = "sickrage-${version}"; + version = "v2018.07.21-1"; + + src = fetchFromGitHub { + owner = "SickRage"; + repo = "SickRage"; + rev = "${version}"; + sha256 = "0lzklpsxqrb73inbv8almnhbnb681pmi44gzc8i4sjwmdksiiif9"; + }; + + dontBuild = true; + doCheck = false; + + nativeBuildInputs = [ makeWrapper ]; + buildInputs = [ python2 ]; + + installPhase = '' + mkdir -p $out/bin + cp -R {gui,lib,locale,sickbeard,sickrage,SickBeard.py} $out/ + + makeWrapper $out/SickBeard.py $out/bin/sickrage + ''; + + meta = with stdenv.lib; { + description = "Automatic Video Library Manager for TV Shows"; + longDescription = "It watches for new episodes of your favorite shows, and when they are posted it does its magic."; + license = licenses.gpl3; + homepage = https://sickrage.github.io; + maintainers = [ "sterfield@gmail.com" ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 42e64fe2fb46..5f1304af8471 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13529,6 +13529,8 @@ with pkgs; sickgear = callPackage ../servers/sickbeard/sickgear.nix { }; + sickrage = callPackage ../servers/sickbeard/sickrage.nix { }; + sipcmd = callPackage ../applications/networking/sipcmd { }; sipwitch = callPackage ../servers/sip/sipwitch { };