1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 flit-core, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "buildcatrust"; 11 version = "0.4.0"; 12 pyproject = true; 13 14 src = fetchPypi { 15 inherit pname version; 16 hash = "sha256-GYw/RN1OK5fqo3em8hia2l/IwN76hnPnFuYprqeX144="; 17 }; 18 19 nativeBuildInputs = [ flit-core ]; 20 21 nativeCheckInputs = [ pytestCheckHook ]; 22 23 disabledTestPaths = [ 24 # Non-hermetic, needs internet access (e.g. attempts to retrieve NSS store). 25 "buildcatrust/tests/test_nonhermetic.py" 26 ]; 27 28 pythonImportsCheck = [ 29 "buildcatrust" 30 "buildcatrust.cli" 31 ]; 32 33 meta = with lib; { 34 description = "Build SSL/TLS trust stores"; 35 mainProgram = "buildcatrust"; 36 homepage = "https://github.com/lukegb/buildcatrust"; 37 license = licenses.mit; 38 maintainers = with maintainers; [ lukegb ]; 39 }; 40}