about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2024-02-11 06:13:15 -0800
committerGitHub <noreply@github.com>2024-02-11 06:13:15 -0800
commitd1b6a990731e72726642bd3f3cc7ea8069e9bd55 (patch)
treedb2761e176124c2d661656afb2c011b6637200fd /pkgs/applications/video
parent5aebb2536c3458b5a2abfbf8ce45a2b952a19f91 (diff)
parente2381a3ae0a733896a86b154c1decd1e5ff94291 (diff)
Merge pull request #286241 from amalgame21/kodi-sponsorblock-addon
kodiPackages.sponsorblock: init at 0.5.0
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/kodi/addons/sponsorblock/default.nix29
1 files changed, 29 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;
+  };
+}