mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Merge pull request #445 from rissson/overrides-cyclonedx-python-lib
overrides: add cyclonedx-python-lib
This commit is contained in:
commit
17e4a7a41b
1 changed files with 7 additions and 0 deletions
|
@ -215,6 +215,13 @@ self: super:
|
||||||
++ [ self.cython ];
|
++ [ 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: {
|
daphne = super.daphne.overridePythonAttrs (old: {
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace setup.py --replace 'setup_requires=["pytest-runner"],' ""
|
substituteInPlace setup.py --replace 'setup_requires=["pytest-runner"],' ""
|
||||||
|
|
Loading…
Add table
Reference in a new issue