Merge pull request #330653 from teatwig/cve-bin-tool

python312Packages.lib4sbom: 0.7.1 -> 0.7.2
This commit is contained in:
Peder Bergebakken Sundt 2024-08-03 18:10:49 +02:00 committed by GitHub
commit ff4306ae98
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 38 additions and 45 deletions

View File

@ -10,14 +10,14 @@
buildPythonPackage rec {
pname = "lib4sbom";
version = "0.7.1";
version = "0.7.2";
format = "setuptools";
src = fetchFromGitHub {
owner = "anthonyharrison";
repo = pname;
rev = "v${version}";
hash = "sha256-UQZZYTRDbUqSH6F8hjhp9L70025cRO3zXQ8Aoznotg4=";
hash = "sha256-sjfOCG1E5Of+HPcfRsBwEKmGkhUOIkAARWja81FL2PY=";
};
dependencies = [

View File

@ -1,34 +1,35 @@
{ lib
, buildPythonApplication
, fetchFromGitHub
{
lib,
buildPythonApplication,
fetchFromGitHub,
# aiohttp[speedups]
, aiodns
, aiohttp
, beautifulsoup4
, brotlipy
, cvss
, distro
, filetype
, google-cloud-sdk
, jinja2
, jsonschema
, lib4sbom
, packageurl-python
, packaging
, plotly
, pytestCheckHook
, python-gnupg
, pyyaml
, rich
, rpmfile
, setuptools
, toml
, xmlschema
, zstandard
, reportlab
, pip
, testers
, cve-bin-tool
aiodns,
aiohttp,
beautifulsoup4,
brotlipy,
cvss,
distro,
filetype,
google-cloud-sdk,
jinja2,
jsonschema,
lib4sbom,
packageurl-python,
packaging,
plotly,
pytestCheckHook,
python-gnupg,
pyyaml,
requests,
rich,
rpmfile,
setuptools,
xmlschema,
zstandard,
reportlab,
pip,
testers,
cve-bin-tool,
}:
buildPythonApplication rec {
@ -64,31 +65,23 @@ buildPythonApplication rec {
plotly
python-gnupg
pyyaml
requests
rich
rpmfile
setuptools
toml
xmlschema
zstandard
];
optional-dependencies = {
pdf = [
reportlab
];
pdf = [ reportlab ];
};
propagatedBuildInputs = [
pip
];
propagatedBuildInputs = [ pip ];
nativeCheckInputs = [
pytestCheckHook
] ++ lib.flatten (lib.attrValues optional-dependencies);
nativeCheckInputs = [ pytestCheckHook ] ++ lib.flatten (lib.attrValues optional-dependencies);
pythonImportsCheck = [
"cve_bin_tool"
];
pythonImportsCheck = [ "cve_bin_tool" ];
passthru.tests.version = testers.testVersion { package = cve-bin-tool; };