kodiPlugins.urlresolver: init at 2.10.0
This commit is contained in:
parent
15821e1b69
commit
32cd7228f6
@ -92,6 +92,32 @@ in
|
||||
|
||||
};
|
||||
|
||||
urlresolver = (mkKodiPlugin rec {
|
||||
|
||||
plugin = "urlresolver";
|
||||
namespace = "script.module.urlresolver";
|
||||
version = "2.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
name = plugin + "-" + version + ".tar.gz";
|
||||
owner = "Eldorados";
|
||||
repo = namespace;
|
||||
rev = "72b9d978d90d54bb7a0224a1fd2407143e592984";
|
||||
sha256 = "0r5glfvgy9ri3ar9zdkvix8lalr1kfp22fap2pqp739b6k2iqir6";
|
||||
};
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/Eldorados/urlresolver";
|
||||
description = "Resolve common video host URL's to be playable in XBMC/Kodi";
|
||||
maintainers = with maintainers; [ edwtjo ];
|
||||
};
|
||||
}).override {
|
||||
patches = [ (fetchpatch {
|
||||
url = https://github.com/Eldorados/script.module.urlresolver/pull/355.patch;
|
||||
sha256 = "0q1n2sqdjqq32202s6ifh81c9a1l5a7yfkkf170dbkiajvxglz1m";
|
||||
}) ];
|
||||
};
|
||||
|
||||
salts = (mkKodiPlugin rec {
|
||||
|
||||
plugin = "salts";
|
||||
|
@ -13692,14 +13692,14 @@ let
|
||||
|
||||
wrapKodi = { kodi }: callPackage ../applications/video/kodi/wrapper.nix {
|
||||
inherit kodi;
|
||||
plugins = let inherit (lib) optional; in with kodiPlugins;
|
||||
plugins = let inherit (lib) optional optionals; in with kodiPlugins;
|
||||
([]
|
||||
++ optional (config.kodi.enableAdvancedLauncher or false) advanced-launcher
|
||||
++ optional (config.kodi.enableGenesis or false) genesis
|
||||
++ optional (config.kodi.enableSVTPlay or false) svtplay
|
||||
++ optional (config.kodi.enableSteamLauncher or false) steam-launcher
|
||||
++ optional (config.kodi.enablePVRHTS or false) pvr-hts
|
||||
++ optional (config.kodi.enableSALTS or false) salts
|
||||
++ optionals (config.kodi.enableSALTS or false) [salts urlresolver]
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user