summary refs log tree commit diff
path: root/pkgs/applications/video
diff options
context:
space:
mode:
authorMaximilian Güntner <code@mguentner.de>2023-10-29 15:50:40 +0100
committerMaximilian Güntner <code@mguentner.de>2023-10-29 15:50:40 +0100
commit200c2340f0bc3a26092aaa574feffc1ab86f54cc (patch)
tree421a24ea858175e672828ba66cabc7831338e41f /pkgs/applications/video
parentb35585b4a2dd998a0068ba914ff3217d48e8b866 (diff)
downloadnixpkgs-200c2340f0bc3a26092aaa574feffc1ab86f54cc.tar
nixpkgs-200c2340f0bc3a26092aaa574feffc1ab86f54cc.tar.gz
nixpkgs-200c2340f0bc3a26092aaa574feffc1ab86f54cc.tar.bz2
nixpkgs-200c2340f0bc3a26092aaa574feffc1ab86f54cc.tar.lz
nixpkgs-200c2340f0bc3a26092aaa574feffc1ab86f54cc.tar.xz
nixpkgs-200c2340f0bc3a26092aaa574feffc1ab86f54cc.tar.zst
nixpkgs-200c2340f0bc3a26092aaa574feffc1ab86f54cc.zip
kodiPackages.somafm: init at 2.0.1
Diffstat (limited to 'pkgs/applications/video')
-rw-r--r--pkgs/applications/video/kodi/addons/somafm/default.nix26
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/applications/video/kodi/addons/somafm/default.nix b/pkgs/applications/video/kodi/addons/somafm/default.nix
new file mode 100644
index 00000000000..4ffc6979129
--- /dev/null
+++ b/pkgs/applications/video/kodi/addons/somafm/default.nix
@@ -0,0 +1,26 @@
+{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
+
+buildKodiAddon rec {
+  pname = "somafm";
+  namespace = "plugin.audio.somafm";
+  version = "2.0.1";
+
+  src = fetchzip {
+    url = "https://mirrors.kodi.tv/addons/nexus/plugin.audio.somafm/plugin.audio.somafm-${version}.zip";
+    sha256 = "sha256-auPLm7QFabU4tXJPjTl17KpE+lqWM2Edbd2HrXPRx40=";
+  };
+
+  passthru = {
+    pythonPath = "resources/lib";
+    updateScript = addonUpdateScript {
+      attrPath = "kodi.packages.somafm";
+    };
+  };
+
+  meta = with lib; {
+    homepage = "https://github.com/Soma-FM-Kodi-Add-On/plugin.audio.somafm";
+    description = "SomaFM addon for Kodi";
+    license = licenses.gpl3Plus;
+    maintainers = teams.kodi.members;
+  };
+}