2021-03-19 17:17:44 +00:00
|
|
|
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
|
|
|
|
buildKodiAddon rec {
|
|
|
|
pname = "chardet";
|
|
|
|
namespace = "script.module.chardet";
|
2021-06-28 23:13:55 +00:00
|
|
|
version = "4.0.0+matrix.1";
|
2021-03-19 17:17:44 +00:00
|
|
|
|
|
|
|
src = fetchzip {
|
|
|
|
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
|
2021-06-28 23:13:55 +00:00
|
|
|
sha256 = "1jsd165mb1b8jdan2jbjd3y3xa0xam2cxcccmwazkybpa0r6a7dj";
|
2021-03-19 17:17:44 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
passthru.updateScript = addonUpdateScript {
|
|
|
|
attrPath = "kodi.packages.chardet";
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://github.com/Freso/script.module.chardet";
|
|
|
|
description = "Universal encoding detector";
|
|
|
|
license = licenses.lgpl2Only;
|
2021-03-23 19:22:30 +00:00
|
|
|
maintainers = teams.kodi.members;
|
2021-03-19 17:17:44 +00:00
|
|
|
};
|
|
|
|
}
|