2021-03-16 01:59:08 +00:00
|
|
|
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
|
2021-03-16 00:33:38 +00:00
|
|
|
buildKodiAddon rec {
|
|
|
|
pname = "chardet";
|
|
|
|
namespace = "script.module.chardet";
|
2021-06-17 04:01:57 +01:00
|
|
|
version = "4.0.0+matrix.1";
|
2021-03-16 00:33:38 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
|
2021-06-17 04:01:57 +01:00
|
|
|
sha256 = "1jsd165mb1b8jdan2jbjd3y3xa0xam2cxcccmwazkybpa0r6a7dj";
|
2021-03-16 00:33:38 +00:00
|
|
|
};
|
|
|
|
|
2021-07-21 00:58:09 +01:00
|
|
|
passthru = {
|
|
|
|
pythonPath = "lib";
|
|
|
|
updateScript = addonUpdateScript {
|
|
|
|
attrPath = "kodi.packages.chardet";
|
|
|
|
};
|
2021-03-16 01:59:08 +00:00
|
|
|
};
|
|
|
|
|
2021-03-16 00:33:38 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Freso/script.module.chardet";
|
|
|
|
description = "Universal encoding detector";
|
|
|
|
license = licenses.lgpl2Only;
|
2021-03-18 23:52:44 +00:00
|
|
|
maintainers = teams.kodi.members;
|
2021-03-16 00:33:38 +00:00
|
|
|
};
|
|
|
|
}
|