mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
Merge pull request #378 from lunik1/overrides
Add overrides for cwcwidth, platformdirs, and pythran
This commit is contained in:
commit
7354f229bd
1 changed files with 15 additions and 0 deletions
|
@ -173,6 +173,11 @@ self: super:
|
|||
}
|
||||
);
|
||||
|
||||
cwcwidth = super.cwcwidth.overridePythonAttrs (old: {
|
||||
nativeBuildInputs = (old.nativeBuildInputs or [ ])
|
||||
++ [ self.cython ];
|
||||
});
|
||||
|
||||
daphne = super.daphne.overridePythonAttrs (old: {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace 'setup_requires=["pytest-runner"],' ""
|
||||
|
@ -911,6 +916,12 @@ self: super:
|
|||
};
|
||||
}) else super.pip;
|
||||
|
||||
platformdirs = super.platformdirs.overridePythonAttrs (old: {
|
||||
postPatch = ''
|
||||
substituteInPlace setup.py --replace 'setup()' 'setup(version="${old.version}")'
|
||||
'';
|
||||
});
|
||||
|
||||
poetry-core = super.poetry-core.overridePythonAttrs (old: {
|
||||
# "Vendor" dependencies (for build-system support)
|
||||
postPatch = ''
|
||||
|
@ -1344,6 +1355,10 @@ self: super:
|
|||
}
|
||||
);
|
||||
|
||||
pythran = super.pythran.overridePythonAttrs (old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ self.pytest-runner ];
|
||||
});
|
||||
|
||||
ffmpeg-python = super.ffmpeg-python.overridePythonAttrs (
|
||||
old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ self.pytest-runner ];
|
||||
|
|
Loading…
Add table
Reference in a new issue