22 lines
690 B
Nix
22 lines
690 B
Nix
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
|
|
buildKodiAddon rec {
|
|
pname = "urllib3";
|
|
namespace = "script.module.urllib3";
|
|
version = "1.25.8+matrix.1";
|
|
|
|
src = fetchzip {
|
|
url = "https://mirrors.kodi.tv/addons/matrix/${namespace}/${namespace}-${version}.zip";
|
|
sha256 = "080yq8ns0sag6rmdag1hjwi0whcmp35wzqjp3by92m81cpszs75q";
|
|
};
|
|
|
|
passthru.updateScript = addonUpdateScript {
|
|
attrPath = "kodi.packages.urllib3";
|
|
};
|
|
|
|
meta = with lib; {
|
|
homepage = "https://urllib3.readthedocs.io/en/latest/";
|
|
description = "HTTP library with thread-safe connection pooling, file post, and more";
|
|
license = licenses.mit;
|
|
maintainers = teams.kodi.members;
|
|
};
|
|
}
|