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
|
||||
, fetchFromGitHub
|
||||
, importlib-metadata
|
||||
, jsonschema
|
||||
, lxml
|
||||
, packageurl-python
|
||||
, poetry-core
|
||||
, pytestCheckHook
|
||||
|
@ -11,12 +13,11 @@
|
|||
, toml
|
||||
, types-setuptools
|
||||
, types-toml
|
||||
, tox
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "cyclonedx-python-lib";
|
||||
version = "0.12.3";
|
||||
version = "1.0.0";
|
||||
format = "pyproject";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
@ -25,7 +26,7 @@ buildPythonPackage rec {
|
|||
owner = "CycloneDX";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1404wcwjglq025n8ncsrl2h64g1sly83cs9sc6jpiw1g5ay4a1vi";
|
||||
hash = "sha256-BEug6F0uerkLoVJbJF19YIF96Xs2vJET2BUJFi9A5Qo=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
|
@ -43,16 +44,11 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
checkInputs = [
|
||||
jsonschema
|
||||
lxml
|
||||
pytestCheckHook
|
||||
tox
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'setuptools = "^50.3.2"' 'setuptools = "*"' \
|
||||
--replace 'importlib-metadata = "^4.8.1"' 'importlib-metadata = "*"'
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"cyclonedx"
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue