kodi.packages.requests-cache: init at 0.5.2+matrix.2

This commit is contained in:
Aaron Andersen 2021-08-05 19:46:20 -04:00
parent 5b6ced844c
commit 57cf959a42
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,29 @@
{ lib, 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/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "0fgl4jayq6hbhqxg16nfy9qizwf54c8nvg0icv93knaj13zfzkz8";
};
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;
maintainers = teams.kodi.members;
};
}

View file

@ -120,6 +120,8 @@ let self = rec {
requests = callPackage ../applications/video/kodi-packages/requests { };
requests-cache = callPackage ../applications/video/kodi-packages/requests-cache { };
routing = callPackage ../applications/video/kodi-packages/routing { };
signals = callPackage ../applications/video/kodi-packages/signals { };