about summary refs log tree commit diff
path: root/pkgs/applications/video/kodi
diff options
context:
space:
mode:
authorAaron Andersen <aaron@fosslib.net>2022-01-02 14:14:12 -0500
committerAaron Andersen <aaron@fosslib.net>2022-01-02 14:14:12 -0500
commitbca10d1f5a3129c8fa37ed9f37e21f74b841175d (patch)
treeebe359236afb8f1152a04412f50828d34d424b60 /pkgs/applications/video/kodi
parent685dacce1db65c0deee2390c757a5597a67895fb (diff)
kodi.packages.simplejson: init at 3.17.0+matrix.2
Diffstat (limited to 'pkgs/applications/video/kodi')
-rw-r--r--pkgs/applications/video/kodi/addons/simplejson/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/simplejson/default.nix b/pkgs/applications/video/kodi/addons/simplejson/default.nix
new file mode 100644
index 0000000000000..e9293d6258dfb
--- /dev/null
+++ b/pkgs/applications/video/kodi/addons/simplejson/default.nix
@@ -0,0 +1,26 @@
+{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
+
+buildKodiAddon rec {
+  pname = "simplejson";
+  namespace = "script.module.simplejson";
+  version = "3.17.0+matrix.2";
+
+  src = fetchzip {
+    url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
+    sha256 = "sha256-XLE4x0qr3CFwWqh1BfSg9q+w6pWgFBXG7TyVJWeGQIs=";
+  };
+
+  passthru = {
+    pythonPath = "lib";
+    updateScript = addonUpdateScript {
+      attrPath = "kodi.packages.simplejson";
+    };
+  };
+
+  meta = with lib; {
+    homepage = "https://github.com/simplejson/simplejson";
+    description = "Simple, fast, extensible JSON encoder/decoder for Python";
+    license = licenses.mit;
+    maintainers = teams.kodi.members;
+  };
+}