Skip to content

Commit aa7b2df

Browse files
committed
python312Packages.lib4vex: init at 0.2.0
1 parent 32e1dc9 commit aa7b2df

File tree

2 files changed

+48
-0
lines changed

2 files changed

+48
-0
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
lib,
3+
buildPythonPackage,
4+
fetchFromGitHub,
5+
csaf-tool,
6+
lib4sbom,
7+
packageurl-python,
8+
pythonOlder,
9+
setuptools,
10+
}:
11+
12+
buildPythonPackage 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+
}

pkgs/top-level/python-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7646,6 +7646,8 @@ self: super: with self; {
76467646

76477647
lib4sbom = callPackage ../development/python-modules/lib4sbom { };
76487648

7649+
lib4vex = callPackage ../development/python-modules/lib4vex { };
7650+
76497651
libagent = callPackage ../development/python-modules/libagent { };
76507652

76517653
libais = callPackage ../development/python-modules/libais { };

0 commit comments

Comments
 (0)