07d6a74cbb
GitOrigin-RevId: f5e8bdd07d1afaabf6b37afc5497b1e498b8046f
21 lines
620 B
Nix
21 lines
620 B
Nix
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
|
|
buildKodiAddon rec {
|
|
pname = "chardet";
|
|
namespace = "script.module.chardet";
|
|
version = "3.0.4+matrix.3";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "05928dj4fsj2zg8ajdial3sdf8izddq64sr0al3zy1gqw91jp80f";
|
|
};
|
|
|
|
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;
|
|
};
|
|
}
|