File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed
development/python-modules/csaf-tool Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ python3Packages ,
3+ } :
4+
5+ python3Packages . toPythonApplication python3Packages . csaf-tool
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildPythonPackage ,
4+ fetchFromGitHub ,
5+ packageurl-python ,
6+ pythonOlder ,
7+ rich ,
8+ setuptools ,
9+ versionCheckHook ,
10+ } :
11+
12+ buildPythonPackage rec {
13+ pname = "csaf-tool" ;
14+ version = "0.3.2" ;
15+ pyproject = true ;
16+
17+ disabled = pythonOlder "3.6" ;
18+
19+ src = fetchFromGitHub {
20+ owner = "anthonyharrison" ;
21+ repo = "csaf" ;
22+ tag = "${ version } " ;
23+ hash = "sha256-LR6r03z0nvvAQgFHaTWfukoJmLZ6SLPXfbp/G8N/HtM=" ;
24+ } ;
25+
26+ build-system = [ setuptools ] ;
27+
28+ dependencies = [
29+ packageurl-python
30+ rich
31+ ] ;
32+
33+ # has not tests
34+ doCheck = false ;
35+
36+ pythonImportsCheck = [ "csaf" ] ;
37+
38+ nativeCheckInputs = [ versionCheckHook ] ;
39+
40+ meta = with lib ; {
41+ description = "CSAF generator and validator" ;
42+ homepage = "https://github.com/anthonyharrison/csaf" ;
43+ changelog = "https://github.com/anthonyharrison/csaf/releases/tag/${ src . tag } " ;
44+ license = licenses . asl20 ;
45+ maintainers = with maintainers ; [ teatwig ] ;
46+ } ;
47+ }
Original file line number Diff line number Diff line change @@ -2946,6 +2946,8 @@ self: super: with self; {
29462946
29472947 crytic-compile = callPackage ../development/python-modules/crytic-compile { };
29482948
2949+ csaf-tool = callPackage ../development/python-modules/csaf-tool { };
2950+
29492951 cson = callPackage ../development/python-modules/cson { };
29502952
29512953 csrmesh = callPackage ../development/python-modules/csrmesh { };
You can’t perform that action at this time.
0 commit comments