3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #227041 from dschrempf/kodi-youtube-fix

kodiPackages.infotagger: init at 0.0.7
This commit is contained in:
Sandro 2023-05-05 21:51:45 +02:00 committed by GitHub
commit 8e5ce4ae19
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 32 additions and 1 deletions

View file

@ -0,0 +1,28 @@
{ lib, buildKodiAddon, fetchFromGitHub, addonUpdateScript }:
buildKodiAddon rec {
pname = "infotagger";
namespace = "script.module.infotagger";
version = "0.0.7";
src = fetchFromGitHub {
owner = "jurialmunkey";
repo = namespace;
rev = "v${version}";
hash = "sha256-Us7ud0QORGn+ALB4uyISekp0kUYY8nN8uFNg8MlxEB0=";
};
passthru = {
# Unusual Python path.
pythonPath = "resources/modules";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.infotagger";
};
};
meta = with lib; {
homepage = "https://github.com/jurialmunkey/script.module.infotagger";
description = "Wrapper for new Nexus InfoTagVideo ListItem methods to maintain backwards compatibility";
license = licenses.gpl3Plus;
maintainers = teams.kodi.members;
};
}

View file

@ -1,4 +1,4 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, six, requests, inputstreamhelper }:
{ lib, buildKodiAddon, fetchzip, addonUpdateScript, six, requests, infotagger, inputstreamhelper }:
buildKodiAddon rec {
pname = "youtube";
@ -13,6 +13,7 @@ buildKodiAddon rec {
propagatedBuildInputs = [
six
requests
infotagger
inputstreamhelper
];

View file

@ -120,6 +120,8 @@ let self = rec {
idna = callPackage ../applications/video/kodi/addons/idna { };
infotagger = callPackage ../applications/video/kodi/addons/infotagger { };
inputstream-adaptive = callPackage ../applications/video/kodi/addons/inputstream-adaptive { };
inputstream-ffmpegdirect = callPackage ../applications/video/kodi/addons/inputstream-ffmpegdirect { };