at master 930 B view raw
1{ 2 lib, 3 buildPythonPackage, 4 fetchFromGitHub, 5 csaf-tool, 6 lib4sbom, 7 packageurl-python, 8 pythonOlder, 9 setuptools, 10}: 11 12buildPythonPackage rec { 13 pname = "lib4vex"; 14 version = "0.2.0"; 15 pyproject = true; 16 17 disabled = pythonOlder "3.7"; 18 19 src = fetchFromGitHub { 20 owner = "anthonyharrison"; 21 repo = "lib4vex"; 22 tag = "v${version}"; 23 hash = "sha256-mR9ZpJDC2O04js3Kd/8qlg4Ds/jy2CmpTywRVYqmnQw="; 24 }; 25 26 build-system = [ setuptools ]; 27 28 dependencies = [ 29 csaf-tool 30 lib4sbom 31 packageurl-python 32 ]; 33 34 # has no tests 35 doCheck = false; 36 37 pythonImportsCheck = [ "lib4vex" ]; 38 39 meta = with lib; { 40 description = "Library to ingest and generate VEX documents"; 41 homepage = "https://github.com/anthonyharrison/lib4vex"; 42 changelog = "https://github.com/anthonyharrison/lib4vex/releases/tag/${src.tag}"; 43 license = licenses.asl20; 44 maintainers = with maintainers; [ teatwig ]; 45 }; 46}