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
40 lines
1.1 KiB
Nix
40 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
rel,
|
|
buildKodiAddon,
|
|
fetchzip,
|
|
fetchpatch,
|
|
addonUpdateScript,
|
|
}:
|
|
buildKodiAddon rec {
|
|
pname = "inputstreamhelper";
|
|
namespace = "script.module.inputstreamhelper";
|
|
version = "0.6.1+matrix.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "sha256-v5fRikswmP+KVbxYibD0NbCK8leUnFbya5EtF1FmS0I=";
|
|
};
|
|
|
|
patches = [
|
|
(fetchpatch {
|
|
url = "https://github.com/emilsvennesson/script.module.inputstreamhelper/commit/af6adc16a0bee4921a827946b004ee070406ae37.patch";
|
|
hash = "sha256-901EyVeZUb0EMvxsEza95qFjTOZ7PDYyqHMRawPM5Zs=";
|
|
})
|
|
];
|
|
|
|
passthru = {
|
|
pythonPath = "lib";
|
|
updateScript = addonUpdateScript {
|
|
attrPath = "kodi.packages.inputstreamhelper";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/emilsvennesson/script.module.inputstreamhelper";
|
|
description = "Simple Kodi module that makes life easier for add-on developers relying on InputStream based add-ons and DRM playback";
|
|
license = licenses.mit;
|
|
teams = [ teams.kodi ];
|
|
};
|
|
}
|