9 buildPythonPackage rec {
11 version = "2023.07.22";
13 disabled = pythonOlder "3.6";
15 src = fetchFromGitHub {
17 repo = "python-certifi";
19 hash = "sha256-V3bptJDNMGXlCMg6GHj792IrjfsG9+F/UpQKxeM0QOc=";
23 # Add support for NIX_SSL_CERT_FILE
28 # Use our system-wide ca-bundle instead of the bundled one
29 rm -v "certifi/cacert.pem"
30 ln -snvf "${cacert}/etc/ssl/certs/ca-bundle.crt" "certifi/cacert.pem"
33 propagatedNativeBuildInputs = [
34 # propagate cacerts setup-hook to set up `NIX_SSL_CERT_FILE`
42 pythonImportsCheck = [
47 homepage = "https://github.com/certifi/python-certifi";
48 description = "Python package for providing Mozilla's CA Bundle";
49 license = licenses.isc;
50 maintainers = with maintainers; [ koral ];