3
0
Fork 0
forked from mirrors/nixpkgs

kodi.packages.simplejson: init at 3.17.0+matrix.2

This commit is contained in:
Aaron Andersen 2022-01-02 14:14:12 -05:00
parent 685dacce1d
commit bca10d1f5a
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,26 @@
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
buildKodiAddon rec {
pname = "simplejson";
namespace = "script.module.simplejson";
version = "3.17.0+matrix.2";
src = fetchzip {
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
sha256 = "sha256-XLE4x0qr3CFwWqh1BfSg9q+w6pWgFBXG7TyVJWeGQIs=";
};
passthru = {
pythonPath = "lib";
updateScript = addonUpdateScript {
attrPath = "kodi.packages.simplejson";
};
};
meta = with lib; {
homepage = "https://github.com/simplejson/simplejson";
description = "Simple, fast, extensible JSON encoder/decoder for Python";
license = licenses.mit;
maintainers = teams.kodi.members;
};
}

View file

@ -150,6 +150,8 @@ let self = rec {
signals = callPackage ../applications/video/kodi/addons/signals { };
simplejson = callPackage ../applications/video/kodi/addons/simplejson { };
six = callPackage ../applications/video/kodi/addons/six { };
urllib3 = callPackage ../applications/video/kodi/addons/urllib3 { };