about summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2021-11-09 04:42:25 -0500
committerGitHub <noreply@github.com>2021-11-09 04:42:25 -0500
commitcd465ef283ae81945426c5b885af615edc346880 (patch)
tree930c4b68803c8f027be98b8c9b2934056e57dd0f /pkgs/applications/video
parent9e70e9f732fbb15872cb4ea11bd43c14328a0b69 (diff)
parentd8727c36bc6dd2abc170aed11a5e863a45f0e198 (diff)
Merge pull request #144936 from aanderse/kodi.packages.iagl
kodi.packages.iagl: init at 1101521-2
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/kodi-packages/archive_tool/default.nix28
-rw-r--r--pkgs/applications/video/kodi-packages/iagl/default.nix30
2 files changed, 58 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi-packages/archive_tool/default.nix b/pkgs/applications/video/kodi-packages/archive_tool/default.nix
new file mode 100644
index 0000000000000..4788556a8793a
--- /dev/null
+++ b/pkgs/applications/video/kodi-packages/archive_tool/default.nix
@@ -0,0 +1,28 @@
+{ lib, buildKodiAddon, fetchFromGitHub, vfs-libarchive }:
+buildKodiAddon rec {
+  pname = "archive_tool";
+  namespace = "script.module.archive_tool";
+  version = "2.0.3";
+
+  src = fetchFromGitHub {
+    owner = "zach-morris";
+    repo = "script.module.archive_tool";
+    rev = version;
+    sha256 = "0hbkyk59xxfjv6vzfjplahmqxi5564qjlwyq6k8ijy6jjcwnd3p7";
+  };
+
+  propagatedBuildInputs = [
+    vfs-libarchive
+  ];
+
+  passthru = {
+    pythonPath = "lib";
+  };
+
+  meta = with lib; {
+    homepage = "https://github.com/zach-morris/script.module.archive_tool";
+    description = "A set of common python functions to work with the Kodi archive virtual file system (vfs) binary addons";
+    license = licenses.gpl3Plus;
+    maintainers = teams.kodi.members;
+  };
+}
diff --git a/pkgs/applications/video/kodi-packages/iagl/default.nix b/pkgs/applications/video/kodi-packages/iagl/default.nix
new file mode 100644
index 0000000000000..8ca0abdf960b9
--- /dev/null
+++ b/pkgs/applications/video/kodi-packages/iagl/default.nix
@@ -0,0 +1,30 @@
+{ lib, buildKodiAddon, fetchFromGitHub, fetchzip, dateutil, requests, routing, vfs-libarchive, archive_tool, youtube }:
+
+buildKodiAddon rec {
+  pname = "iagl";
+  namespace = "plugin.program.iagl";
+  version = "1101521-2";
+
+  src = fetchFromGitHub {
+    owner = "zach-morris";
+    repo = "plugin.program.iagl";
+    rev = "30e82eec1a909b31767f0e298cf77fc970b256d3";
+    sha256 = "11y05i5f7lzik23w2kr52jdgr8db3gin8i683sy1hzxlmplk4699";
+  };
+
+  propagatedBuildInputs = [
+    dateutil
+    requests
+    routing
+    vfs-libarchive
+    archive_tool
+    youtube
+  ];
+
+  meta = with lib; {
+    homepage = "https://github.com/zach-morris/plugin.program.iagl";
+    description = "Launch Games from the Internet using Kodi";
+    license = licenses.gpl3Plus;
+    maintainers = teams.kodi.members;
+  };
+}