3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/video/kodi-packages/urllib3/default.nix

26 lines
731 B
Nix
Raw Normal View History

{ lib, buildKodiAddon, fetchzip, addonUpdateScript }:
2021-03-16 00:33:38 +00:00
buildKodiAddon rec {
pname = "urllib3";
namespace = "script.module.urllib3";
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";
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 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
};
}