mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
overrides.lsassy: Work around upstream missing version constraint in setup.py
This commit is contained in:
parent
b742ddd087
commit
639115b897
1 changed files with 11 additions and 0 deletions
|
@ -866,6 +866,17 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
lsassy =
|
||||
if super.lsassy.version == "3.1.1" then
|
||||
super.lsassy.overridePythonAttrs
|
||||
(old: {
|
||||
# pyproject.toml contains a constraint `rich = "^10.6.0"` which is not replicated in setup.py
|
||||
# hence pypi misses it and poetry pins rich to 11.0.0
|
||||
preConfigure = (old.preConfigure or "") + ''
|
||||
rm pyproject.toml
|
||||
'';
|
||||
}) else super.lsassy;
|
||||
|
||||
lxml = super.lxml.overridePythonAttrs (
|
||||
old: {
|
||||
nativeBuildInputs = with pkgs.buildPackages; (old.nativeBuildInputs or [ ]) ++ [ pkg-config libxml2.dev libxslt.dev ] ++ lib.optionals stdenv.isDarwin [ xcodebuild ];
|
||||
|
|
Loading…
Add table
Reference in a new issue