mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-06 09:41:39 -05:00
override: copier, pyyaml-include, mypy, poethepoet, types-backports, types-psutil
Fixes https://github.com/nix-community/poetry2nix/issues/768. Only patch mypy >= 0.990
This commit is contained in:
parent
bb7f4e1d04
commit
7b59c2765d
2 changed files with 18 additions and 2 deletions
|
@ -3061,7 +3061,8 @@
|
|||
"setuptools"
|
||||
],
|
||||
"copier": [
|
||||
"poetry-core"
|
||||
"poetry-core",
|
||||
"poetry-dynamic-versioning"
|
||||
],
|
||||
"coqpit": [
|
||||
"setuptools"
|
||||
|
@ -14076,7 +14077,8 @@
|
|||
"setuptools"
|
||||
],
|
||||
"pyyaml-include": [
|
||||
"setuptools"
|
||||
"setuptools",
|
||||
"setuptools-scm"
|
||||
],
|
||||
"pyzbar": [
|
||||
"setuptools"
|
||||
|
@ -17097,6 +17099,9 @@
|
|||
"types-awscrt": [
|
||||
"poetry-core"
|
||||
],
|
||||
"types-backports": [
|
||||
"setuptools"
|
||||
],
|
||||
"types-cachetools": [
|
||||
"setuptools"
|
||||
],
|
||||
|
@ -17142,6 +17147,9 @@
|
|||
"types-protobuf": [
|
||||
"setuptools"
|
||||
],
|
||||
"types-psutil": [
|
||||
"setuptools"
|
||||
],
|
||||
"types-python-dateutil": [
|
||||
"setuptools"
|
||||
],
|
||||
|
|
|
@ -1516,6 +1516,10 @@ lib.composeManyExtensions [
|
|||
}
|
||||
);
|
||||
|
||||
poethepoet = super.poethepoet.overrideAttrs (old: {
|
||||
propagatedBuildInputs = old.propagatedBuildInputs ++ [ self.poetry ];
|
||||
});
|
||||
|
||||
poetry-core = super.poetry-core.overridePythonAttrs (old:
|
||||
let
|
||||
initFile =
|
||||
|
@ -2689,6 +2693,10 @@ lib.composeManyExtensions [
|
|||
'';
|
||||
});
|
||||
|
||||
pyyaml-include = super.pyyaml-include.overridePythonAttrs (old: {
|
||||
SETUPTOOLS_SCM_PRETEND_VERSION = old.version;
|
||||
});
|
||||
|
||||
selinux = super.selinux.overridePythonAttrs (old: {
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [ self.setuptools-scm-git-archive ];
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue