11 namespace = "plugin.video.sendtokodi";
14 src = fetchFromGitHub {
16 repo = "plugin.video.sendtokodi";
18 hash = "sha256-Ga+9Q7x8+sEmQmteHbSyCahZ/T/l28BAEM84w7bf7z8=";
22 # Unconditionally depend on packaged yt-dlp. This removes the ability to
23 # use youtube_dl, which is unmaintained and considered vulnerable (see
25 ./use-packaged-yt-dlp.patch
28 propagatedBuildInputs = [
33 # Remove vendored youtube-dl and yt-dlp libraries.
38 # Instead of the vendored libraries, we propagate yt-dlp via the Python
40 pythonPath = with kodi.pythonPackages; makePythonPath [ yt-dlp ];
44 homepage = "https://github.com/firsttris/plugin.video.sendtokodi";
45 description = "Plays various stream sites on Kodi using yt-dlp";
46 license = licenses.mit;
47 maintainers = teams.kodi.members ++ [ maintainers.pks ];