kodi: workaround for addon path bug in youtube addon

I've submitted a PR upstream to address this:
https://github.com/anxdpanic/plugin.video.youtube/pull/260, this just
pulls the patch in sooner to get things unbroken for Nix users.
This commit is contained in:
Jeremy Fleischman 2021-12-29 04:21:08 -08:00
parent a88c3bbfe1
commit 58058239d4
No known key found for this signature in database
GPG key ID: 19319CD8416A642B

View file

@ -1,4 +1,4 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, six, requests, inputstreamhelper }:
{ lib, buildKodiAddon, fetchpatch, fetchzip, addonUpdateScript, six, requests, inputstreamhelper }:
buildKodiAddon rec {
pname = "youtube";
@ -23,6 +23,15 @@ buildKodiAddon rec {
};
};
patches = [
# This patch can be removed once https://github.com/anxdpanic/plugin.video.youtube/pull/260 has been merged.
(fetchpatch {
name = "fix-addon-path";
url = "https://patch-diff.githubusercontent.com/raw/anxdpanic/plugin.video.youtube/pull/260.patch";
sha256 = "11c9sfwl5kvfll2jws5b4i46s60v6gkfns4al13p4m5ch9rk06hs";
})
];
meta = with lib; {
homepage = "https://github.com/anxdpanic/plugin.video.youtube";
description = "YouTube is one of the biggest video-sharing websites of the world";