Merge pull request #651 from schlarpc/master

overrides.mypy: Fix build on 0.960
This commit is contained in:
adisbladis 2022-06-05 01:44:49 +08:00 committed by GitHub
commit 5ccffe18c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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