vunnel: 0.48.0 -> 0.55.1, python3Packages.yardstick: init at 0.16.1 (#494293)
This commit is contained in:
@@ -7,14 +7,14 @@
|
||||
|
||||
python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
pname = "vunnel";
|
||||
version = "0.48.0";
|
||||
version = "0.55.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = "vunnel";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-D0/DoYmmLeAvGnr6ljE8p0B6dmFi4UHwcWCQRb85OkM=";
|
||||
hash = "sha256-D3f+r+FGcdetE8kwSddVRE9qQ+LiwUHaJaUqUS086cs=";
|
||||
leaveDotGit = true;
|
||||
};
|
||||
|
||||
@@ -55,6 +55,7 @@ python3.pkgs.buildPythonApplication (finalAttrs: {
|
||||
sqlalchemy
|
||||
xsdata
|
||||
xxhash
|
||||
yardstick
|
||||
zstandard
|
||||
]
|
||||
++ xsdata.optional-dependencies.cli
|
||||
|
||||
@@ -0,0 +1,34 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "omitempty";
|
||||
version = "0.1.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "bfontaine";
|
||||
repo = "omitempty";
|
||||
tag = finalAttrs.version;
|
||||
hash = "sha256-XQ887ArfxXnPJcCksgS5Zkg9VAfGRxu0wapewsnqdpY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "omitempty" ];
|
||||
|
||||
# Tests are outdated
|
||||
doCheck = false;
|
||||
|
||||
meta = {
|
||||
description = "Go's omitempty for Python";
|
||||
homepage = "https://github.com/bfontaine/omitempty";
|
||||
changelog = "https://github.com/bfontaine/omitempty/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.mit;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -0,0 +1,77 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
click,
|
||||
dataclass-wizard,
|
||||
dataclasses-json,
|
||||
fetchFromGitHub,
|
||||
gitpython,
|
||||
hatchling,
|
||||
importlib-metadata,
|
||||
mergedeep,
|
||||
omitempty,
|
||||
prompt-toolkit,
|
||||
pygments,
|
||||
pytest-asyncio,
|
||||
pytest-cov-stub,
|
||||
pytest-mock,
|
||||
pytestCheckHook,
|
||||
pyyaml,
|
||||
requests,
|
||||
tabulate,
|
||||
uv-dynamic-versioning,
|
||||
xxhash,
|
||||
zstandard,
|
||||
}:
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "yardstick";
|
||||
version = "0.16.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "anchore";
|
||||
repo = "yardstick";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-4Kwgm2gmgOam7AVzlGYT3QhAyJf14h3pZohrhbzprpg=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
hatchling
|
||||
uv-dynamic-versioning
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
click
|
||||
dataclass-wizard
|
||||
dataclasses-json
|
||||
gitpython
|
||||
importlib-metadata
|
||||
mergedeep
|
||||
omitempty
|
||||
prompt-toolkit
|
||||
pygments
|
||||
pyyaml
|
||||
requests
|
||||
tabulate
|
||||
xxhash
|
||||
zstandard
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
pytest-asyncio
|
||||
pytest-cov-stub
|
||||
pytest-mock
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "yardstick" ];
|
||||
|
||||
meta = {
|
||||
description = "Module to compare vulnerability scanners results";
|
||||
homepage = "https://github.com/anchore/yardstick";
|
||||
changelog = "https://github.com/anchore/yardstick/releases/tag/${finalAttrs.src.tag}";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = with lib.maintainers; [ fab ];
|
||||
};
|
||||
})
|
||||
@@ -11309,6 +11309,8 @@ self: super: with self; {
|
||||
|
||||
omemo-dr = callPackage ../development/python-modules/omemo-dr { };
|
||||
|
||||
omitempty = callPackage ../development/python-modules/omitempty { };
|
||||
|
||||
omnikinverter = callPackage ../development/python-modules/omnikinverter { };
|
||||
|
||||
omnilogic = callPackage ../development/python-modules/omnilogic { };
|
||||
@@ -21190,6 +21192,8 @@ self: super: with self; {
|
||||
|
||||
yaramod = callPackage ../development/python-modules/yaramod { };
|
||||
|
||||
yardstick = callPackage ../development/python-modules/yardstick { };
|
||||
|
||||
yarg = callPackage ../development/python-modules/yarg { };
|
||||
|
||||
yargy = callPackage ../development/python-modules/yargy { };
|
||||
|
||||
Reference in New Issue
Block a user