2021-03-16 01:59:08 +00:00
|
|
|
{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
|
2021-03-16 00:33:38 +00:00
|
|
|
buildKodiAddon rec {
|
|
|
|
pname = "urllib3";
|
|
|
|
namespace = "script.module.urllib3";
|
2021-06-17 04:06:06 +01:00
|
|
|
version = "1.26.4+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:06:06 +01:00
|
|
|
sha256 = "1d2k6gbsnhdadcl1xc7igz4m71z2fcnpln5ppfjv455cmkk110vf";
|
2021-03-16 00:33:38 +00:00
|
|
|
};
|
|
|
|
|
2021-07-21 00:58:09 +01:00
|
|
|
passthru = {
|
|
|
|
pythonPath = "lib";
|
|
|
|
updateScript = addonUpdateScript {
|
|
|
|
attrPath = "kodi.packages.urllib3";
|
|
|
|
};
|
2021-03-16 01:59:08 +00:00
|
|
|
};
|
|
|
|
|
2021-03-16 00:33:38 +00:00
|
|
|
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;
|
2021-03-18 23:52:44 +00:00
|
|
|
maintainers = teams.kodi.members;
|
2021-03-16 00:33:38 +00:00
|
|
|
};
|
|
|
|
}
|