Merge pull request #215792 from StillerHarpo/kodi/invidious

kodi.packages.invidious: 0.1.0+matrix.1 -> unstable-2022-11-28

authored by

Aaron Andersen and committed by
GitHub
845ef45e 1abf8e42

+10 -8
+10 -8
pkgs/applications/video/kodi/addons/invidious/default.nix
··· 1 - { lib, buildKodiAddon, fetchpatch, fetchzip, addonUpdateScript, requests, inputstream-adaptive, inputstreamhelper }: 1 + { lib, buildKodiAddon, fetchFromGitHub, addonUpdateScript, requests, inputstream-adaptive, inputstreamhelper }: 2 2 3 3 buildKodiAddon rec { 4 4 pname = "invidious"; 5 5 namespace = "plugin.video.invidious"; 6 - version = "0.1.0+matrix.1"; 6 + version = "unstable-2022-11-28"; 7 7 8 - src = fetchzip { 9 - url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip"; 10 - sha256 = "sha256-4z2/YTso5KV6JHS/DOXll2lKOoVnW1i5MnpmV6ESXbM="; 8 + # video search doesn't work for the version on kodi.tv 9 + # if the result contains channels 10 + # https://github.com/TheAssassin/kodi-invidious-plugin/issues/17 11 + src = fetchFromGitHub { 12 + owner = "TheAssassin"; 13 + repo = "kodi-invidious-plugin"; 14 + rev = "85b66525632d94630c9301d9c490fc002a335d77"; 15 + hash = "sha256-DpsAQUOUYCs3rpWwsk82+00KME4J+Iocu/v781dyyws="; 11 16 }; 12 17 13 18 propagatedBuildInputs = [ ··· 18 23 19 24 passthru = { 20 25 pythonPath = "resources/lib"; 21 - updateScript = addonUpdateScript { 22 - attrPath = "kodi.packages.invidious"; 23 - }; 24 26 }; 25 27 26 28 meta = with lib; {