11 namespace = "script.module.certifi";
15 url = "https://mirrors.kodi.tv/addons/${lib.toLower rel}/${namespace}/${namespace}-${version}.zip";
16 sha256 = "sha256-NQbjx+k9fnQMYLLMR5+N5NSuDcXEzZjlhGPA3qSmjfI=";
20 # Add support for NIX_SSL_CERT_FILE
25 # Use our system-wide ca-bundle instead of the bundled one
26 ln -snvf "${cacert}/etc/ssl/certs/ca-bundle.crt" "lib/certifi/cacert.pem"
29 propagatedNativeBuildInputs = [
30 # propagate cacerts setup-hook to set up `NIX_SSL_CERT_FILE`
36 updateScript = addonUpdateScript {
37 attrPath = "kodi.packages.certifi";
42 homepage = "https://certifi.io";
43 description = "Python package for providing Mozilla's CA Bundle";
44 license = licenses.mpl20;
45 maintainers = teams.kodi.members;