diff --git a/pkgs/applications/video/xbmc/plugins.nix b/pkgs/applications/video/xbmc/plugins.nix index d34fba9ade73..fe1be7a1e24c 100644 --- a/pkgs/applications/video/xbmc/plugins.nix +++ b/pkgs/applications/video/xbmc/plugins.nix @@ -16,7 +16,9 @@ let installPhase = '' d=$out${pluginDir}/${namespace} mkdir -p $d - cp -R $src/* $d + sauce="." + [ -d ${namespace} ] && sauce=${namespace} + cp -R $sauce/* $d ''; }; @@ -53,6 +55,28 @@ in }; + genesis = mkXBMCPlugin rec { + + plugin = "genesis"; + namespace = "plugin.video.genesis"; + version = "2.1.3"; + + src = fetchFromGitHub { + owner = "lambda81"; + repo = "lambda-xbmc-addons"; + rev = "f8aa34064bf31fffbb3c264af32c66bbdaf0a59e"; + sha256 = "0d197fd6n3m9knpg38frnmfhqyabvh00ridpmikyw4vzk3hx11km"; + }; + + meta = with stdenv.lib; { + homepage = "http://forums.tvaddons.ag/forums/148-lambda-s-xbmc-addons"; + description = "The origins of streaming"; + platforms = platforms.all; + maintainers = with maintainers; [ edwtjo ]; + }; + + }; + svtplay = mkXBMCPlugin rec { plugin = "svtplay"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index becf0e05caec..9bc4bdb5e397 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -10679,6 +10679,7 @@ let plugins = let inherit (lib) optional; in with xbmcPlugins; ([] ++ optional (config.xbmc.enableAdvancedLauncher or false) advanced-launcher + ++ optional (config.xbmc.enableGenesis or false) genesis ++ optional (config.xbmc.enableSVTPlay or false) svtplay ); };