10 buildPythonPackage rec {
11 pname = "certvalidator";
13 format = "setuptools";
15 src = fetchFromGitHub {
19 hash = "sha256-yVF7t4FuU3C9fDg67JeM7LWZZh/mv5F4EKmjlO4AuBY=";
22 propagatedBuildInputs = [
27 nativeCheckInputs = [ cacert ];
29 # Tests are run with a custom executor/loader
30 # The regex to skip specific tests relies on negative lookahead of regular expressions
31 # We're skipping the few tests that rely on the network, fetching CRLs, OCSP or remote certificates
32 python -c 'import dev.tests; dev.tests.run("^(?!.*test_(basic_certificate_validator_tls|fetch|revocation|build_path)).*$")'
34 pythonImportsCheck = [ "certvalidator" ];
37 homepage = "https://github.com/wbond/certvalidator";
38 description = "Validates X.509 certificates and paths";
39 license = licenses.mit;
40 maintainers = with maintainers; [ baloo ];