mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
Add additional overrides for jaraco-functools, portend and tempora.
They need toml as a build dependency, they require setuptools_scm with the toml extra.
This commit is contained in:
parent
36e694d4de
commit
23b3e00bfc
1 changed files with 15 additions and 3 deletions
|
@ -369,9 +369,13 @@ self: super:
|
|||
}
|
||||
);
|
||||
|
||||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
jaraco-functools = super.jaraco-functools.overridePythonAttrs (
|
||||
old: {
|
||||
# required for the extra "toml" dependency in setuptools_scm[toml]
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [
|
||||
self.toml
|
||||
];
|
||||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
dontPreferSetupPy = true;
|
||||
}
|
||||
);
|
||||
|
@ -764,9 +768,13 @@ self: super:
|
|||
'';
|
||||
});
|
||||
|
||||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
portend = super.portend.overridePythonAttrs (
|
||||
old: {
|
||||
# required for the extra "toml" dependency in setuptools_scm[toml]
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [
|
||||
self.toml
|
||||
];
|
||||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
dontPreferSetupPy = true;
|
||||
}
|
||||
);
|
||||
|
@ -1278,9 +1286,13 @@ self: super:
|
|||
}
|
||||
);
|
||||
|
||||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
tempora = super.tempora.overridePythonAttrs (
|
||||
old: {
|
||||
# required for the extra "toml" dependency in setuptools_scm[toml]
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [
|
||||
self.toml
|
||||
];
|
||||
# disable the removal of pyproject.toml, required because of setuptools_scm
|
||||
dontPreferSetupPy = true;
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Reference in a new issue