Merge pull request #445 from rissson/overrides-cyclonedx-python-lib

overrides: add cyclonedx-python-lib
This commit is contained in:
adisbladis 2021-11-21 16:48:18 -08:00 committed by GitHub
commit 17e4a7a41b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -215,6 +215,13 @@ self: super:
++ [ self.cython ];
});
cyclonedx-python-lib = super.cyclonedx-python-lib.overridePythonAttrs (old: {
propagatedBuildInputs = (old.propagatedBuildInputs or [ ]) ++ [ self.setuptools ];
postPatch = ''
substituteInPlace setup.py --replace 'setuptools>=50.3.2,<51.0.0' 'setuptools'
'';
});
daphne = super.daphne.overridePythonAttrs (old: {
postPatch = ''
substituteInPlace setup.py --replace 'setup_requires=["pytest-runner"],' ""