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
37 lines
799 B
Nix
37 lines
799 B
Nix
{
|
|
lib,
|
|
rel,
|
|
buildKodiAddon,
|
|
fetchzip,
|
|
addonUpdateScript,
|
|
requests,
|
|
}:
|
|
buildKodiAddon rec {
|
|
pname = "requests-cache";
|
|
namespace = "script.module.requests-cache";
|
|
version = "0.5.2+matrix.2";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "sha256-6M/v/ghS2TnSZhG8bREjxfEfcfLOmvA6hgsa7JUk9Dk=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
requests
|
|
];
|
|
|
|
passthru = {
|
|
pythonPath = "lib";
|
|
updateScript = addonUpdateScript {
|
|
attrPath = "kodi.packages.requests-cache";
|
|
};
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://github.com/reclosedev/requests-cache";
|
|
description = "Persistent cache for requests library";
|
|
license = licenses.bsd2;
|
|
teams = [ teams.kodi ];
|
|
};
|
|
}
|