mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-05 09:11:39 -05:00
commit
dcee9f6a54
1 changed files with 8 additions and 3 deletions
|
@ -989,13 +989,18 @@ lib.composeManyExtensions [
|
|||
|
||||
mypy = super.mypy.overridePythonAttrs (
|
||||
old: {
|
||||
patches = (old.patches or [ ]) ++ lib.optionals (lib.strings.versionAtLeast old.version "0.900") [
|
||||
# FIXME: Remove patch after upstream has decided the proper solution.
|
||||
# https://github.com/python/mypy/pull/11143
|
||||
# FIXME: Remove patch after upstream has decided the proper solution.
|
||||
# https://github.com/python/mypy/pull/11143
|
||||
patches = (old.patches or [ ]) ++ lib.optionals ((lib.strings.versionAtLeast old.version "0.900") && lib.strings.versionOlder old.version "0.940") [
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/python/mypy/commit/f1755259d54330cd087cae763cd5bbbff26e3e8a.patch";
|
||||
sha256 = "sha256-5gPahX2X6+/qUaqDQIGJGvh9lQ2EDtks2cpQutgbOHk=";
|
||||
})
|
||||
] ++ lib.optionals (lib.strings.versionAtLeast old.version "0.940") [
|
||||
(pkgs.fetchpatch {
|
||||
url = "https://github.com/python/mypy/commit/e7869f05751561958b946b562093397027f6d5fa.patch";
|
||||
sha256 = "sha256-waIZ+m3tfvYE4HJ8kL6rN/C4fMjvLEe9UoPbt9mHWIM=";
|
||||
})
|
||||
];
|
||||
buildInputs = (old.buildInputs or [ ]) ++ [
|
||||
self.types-typed-ast
|
||||
|
|
Loading…
Add table
Reference in a new issue