overrides.mypy: Fix build on 0.960

This commit is contained in:
Chaz Schlarp 2022-05-27 14:14:56 -07:00
parent 3b01c3e3dc
commit 0ccfad7a61

View file

@ -1105,11 +1105,16 @@ lib.composeManyExtensions [
url = "https://github.com/python/mypy/commit/f1755259d54330cd087cae763cd5bbbff26e3e8a.patch";
sha256 = "sha256-5gPahX2X6+/qUaqDQIGJGvh9lQ2EDtks2cpQutgbOHk=";
})
] ++ lib.optionals (lib.strings.versionAtLeast old.version "0.940") [
] ++ lib.optionals ((lib.strings.versionAtLeast old.version "0.940") && lib.strings.versionOlder old.version "0.960") [
(pkgs.fetchpatch {
url = "https://github.com/python/mypy/commit/e7869f05751561958b946b562093397027f6d5fa.patch";
sha256 = "sha256-waIZ+m3tfvYE4HJ8kL6rN/C4fMjvLEe9UoPbt9mHWIM=";
})
] ++ lib.optionals (lib.strings.versionAtLeast old.version "0.960") [
(pkgs.fetchpatch {
url = "https://github.com/python/mypy/compare/a6166b2f..5b3c9888.patch";
sha256 = "sha256-3QY99ctkIv9PoNfcTKF9TZFBwAIVOqPLKBVP6rDQ9FU=";
})
];
}
);