841d9c7fc1
GitOrigin-RevId: 3a8d7958a610cd3fec3a6f424480f91a1b259185
22 lines
658 B
Nix
22 lines
658 B
Nix
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
|
|
buildKodiAddon rec {
|
|
pname = "chardet";
|
|
namespace = "script.module.chardet";
|
|
version = "4.0.0+matrix.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "1jsd165mb1b8jdan2jbjd3y3xa0xam2cxcccmwazkybpa0r6a7dj";
|
|
};
|
|
|
|
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;
|
|
maintainers = teams.kodi.members;
|
|
};
|
|
}
|