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:
Jairo Llopis 2022-11-18 13:55:54 +00:00
parent bb7f4e1d04
commit 7b59c2765d
No known key found for this signature in database
GPG key ID: E47E3BE44B940490
2 changed files with 18 additions and 2 deletions

View file

@ -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"
],

View file

@ -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 ];
});