diff options
author | Aaron Andersen <aaron@fosslib.net> | 2024-02-11 06:13:15 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-11 06:13:15 -0800 |
commit | d1b6a990731e72726642bd3f3cc7ea8069e9bd55 (patch) | |
tree | db2761e176124c2d661656afb2c011b6637200fd | |
parent | 5aebb2536c3458b5a2abfbf8ce45a2b952a19f91 (diff) | |
parent | e2381a3ae0a733896a86b154c1decd1e5ff94291 (diff) |
Merge pull request #286241 from amalgame21/kodi-sponsorblock-addon
kodiPackages.sponsorblock: init at 0.5.0
-rw-r--r-- | pkgs/applications/video/kodi/addons/sponsorblock/default.nix | 29 | ||||
-rw-r--r-- | pkgs/top-level/kodi-packages.nix | 2 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/sponsorblock/default.nix b/pkgs/applications/video/kodi/addons/sponsorblock/default.nix new file mode 100644 index 0000000000000..d174a09625e51 --- /dev/null +++ b/pkgs/applications/video/kodi/addons/sponsorblock/default.nix @@ -0,0 +1,29 @@ +{ lib, buildKodiAddon, fetchFromGitHub, six, requests }: +buildKodiAddon rec { + pname = "sponsorblock"; + namespace = "script.service.sponsorblock"; + version = "0.5.0"; + + src = fetchFromGitHub { + owner = "siku2"; + repo = namespace; + rev = "v${version}"; + hash = "sha256-IBgh2kdPgCy+HHrR7UZxTgjF1LR77ABGlUp3PgaobNM="; + }; + + propagatedBuildInputs = [ + six + requests + ]; + + passthru = { + pythonPath = "resources/lib"; + }; + + meta = with lib; { + homepage = "https://github.com/siku2/script.service.sponsorblock"; + description = "A Port of SponsorBlock for Invidious and YouTube Plugin"; + license = licenses.mit; + maintainers = teams.kodi.members; + }; +} diff --git a/pkgs/top-level/kodi-packages.nix b/pkgs/top-level/kodi-packages.nix index d0a4947865618..7f0bfc5883f82 100644 --- a/pkgs/top-level/kodi-packages.nix +++ b/pkgs/top-level/kodi-packages.nix @@ -181,6 +181,8 @@ let self = rec { six = callPackage ../applications/video/kodi/addons/six { }; + sponsorblock = callPackage ../applications/video/kodi/addons/sponsorblock { }; + urllib3 = callPackage ../applications/video/kodi/addons/urllib3 { }; websocket = callPackage ../applications/video/kodi/addons/websocket { }; |