python3Packages.cyclonedx-python-lib: 0.12.3 -> 1.0.0
This commit is contained in:
parent
33e2a4b40c
commit
7eca5b29da
1 changed files with 6 additions and 10 deletions
|
@ -2,6 +2,8 @@
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, importlib-metadata
|
, importlib-metadata
|
||||||
|
, jsonschema
|
||||||
|
, lxml
|
||||||
, packageurl-python
|
, packageurl-python
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
|
@ -11,12 +13,11 @@
|
||||||
, toml
|
, toml
|
||||||
, types-setuptools
|
, types-setuptools
|
||||||
, types-toml
|
, types-toml
|
||||||
, tox
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "cyclonedx-python-lib";
|
pname = "cyclonedx-python-lib";
|
||||||
version = "0.12.3";
|
version = "1.0.0";
|
||||||
format = "pyproject";
|
format = "pyproject";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -25,7 +26,7 @@ buildPythonPackage rec {
|
||||||
owner = "CycloneDX";
|
owner = "CycloneDX";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1404wcwjglq025n8ncsrl2h64g1sly83cs9sc6jpiw1g5ay4a1vi";
|
hash = "sha256-BEug6F0uerkLoVJbJF19YIF96Xs2vJET2BUJFi9A5Qo=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
|
@ -43,16 +44,11 @@ buildPythonPackage rec {
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
checkInputs = [
|
||||||
|
jsonschema
|
||||||
|
lxml
|
||||||
pytestCheckHook
|
pytestCheckHook
|
||||||
tox
|
|
||||||
];
|
];
|
||||||
|
|
||||||
postPatch = ''
|
|
||||||
substituteInPlace pyproject.toml \
|
|
||||||
--replace 'setuptools = "^50.3.2"' 'setuptools = "*"' \
|
|
||||||
--replace 'importlib-metadata = "^4.8.1"' 'importlib-metadata = "*"'
|
|
||||||
'';
|
|
||||||
|
|
||||||
pythonImportsCheck = [
|
pythonImportsCheck = [
|
||||||
"cyclonedx"
|
"cyclonedx"
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue