diff --git a/pkgs/applications/video/kodi/plugins.nix b/pkgs/applications/video/kodi/plugins.nix index db7b56e51b33..a8d25aa8dd8d 100644 --- a/pkgs/applications/video/kodi/plugins.nix +++ b/pkgs/applications/video/kodi/plugins.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, kodi, steam, libcec_platform, tinyxml }: +{ stdenv, fetchFromGitHub, fetchpatch, cmake, kodi, steam, libcec_platform, tinyxml }: let @@ -92,6 +92,32 @@ in }; + salts = (mkKodiPlugin rec { + + plugin = "salts"; + namespace = "plugin.video.salts"; + version = "1.0.98"; + + src = fetchFromGitHub { + name = plugin + "-" + version + ".tar.gz"; + owner = "tknorris"; + repo = plugin; + rev = "02cb63360ac1f60c01ec29d1da94902542f9a47a"; + sha256 = "10cy633g383m1xy6yap46aqzyz96dh62y7c5rn5nvyw8ms18089z"; + }; + + meta = with stdenv.lib; { + homepage = "https://github.com/tknorris/salts"; + description = "Stream All The Sources"; + maintainers = with maintainers; [ edwtjo ]; + }; + }).override { + patches = [ (fetchpatch { + url = https://github.com/tknorris/salts/pull/115.patch; + sha256 = "157dhp049mw8lna6cg3x549jv2b9zq1vj6v94mil65q2hlw09sjd"; + }) ]; + }; + svtplay = mkKodiPlugin rec { plugin = "svtplay"; @@ -122,7 +148,7 @@ in }; steam-launcher = (mkKodiPlugin rec { - + plugin = "steam-launcher"; namespace = "script.steam.launcher"; version = "3.1.1"; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index bf6dbffd9e59..19722a2d23f4 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -13699,6 +13699,7 @@ let ++ 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 ); }; @@ -15845,7 +15846,7 @@ aliases = with self; rec { cool-old-term = cool-retro-term; # added 2015-01-31 cupsBjnp = cups-bjnp; # added 2016-01-02 cv = progress; # added 2015-09-06 - enblendenfuse = enblend-enfuse; # 2015-09-30 + enblendenfuse = enblend-enfuse; # 2015-09-30 exfat-utils = exfat; # 2015-09-11 firefoxWrapper = firefox-wrapper; fuse_exfat = exfat; # 2015-09-11