22 buildPythonPackage rec {
23 pname = "cyclonedx-python-lib";
27 disabled = pythonOlder "3.9";
29 src = fetchFromGitHub {
32 rev = "refs/tags/v${version}";
33 hash = "sha256-pbwhjxlEdne426CiUORSM8w6MXpgpjMWoH37TnXxA5s=";
40 propagatedBuildInputs = [
59 pythonImportsCheck = [
64 export PYTHONPATH=tests''${PYTHONPATH+:$PYTHONPATH}
67 pytestFlagsArray = [ "tests/" ];
70 # These tests require network access.
71 "test_bom_v1_3_with_metadata_component"
72 "test_bom_v1_4_with_metadata_component"
76 description = "Python library for generating CycloneDX SBOMs";
77 homepage = "https://github.com/CycloneDX/cyclonedx-python-lib";
78 license = with licenses; [ asl20 ];
79 maintainers = with maintainers; [ fab ];