Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
33 lines
733 B
Nix
33 lines
733 B
Nix
{
|
|
lib,
|
|
rel,
|
|
buildKodiAddon,
|
|
fetchzip,
|
|
addonUpdateScript,
|
|
}:
|
|
|
|
buildKodiAddon rec {
|
|
pname = "somafm";
|
|
namespace = "plugin.audio.somafm";
|
|
version = "2.0.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/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;
|
|
teams = [ teams.kodi ];
|
|
};
|
|
}
|