python310Packages.pylsp-mypy: fix test

This commit is contained in:
Gaetan Lepage
2022-11-29 14:20:51 +01:00
parent 343ea4052c
commit 22b020228f
@@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, fetchpatch
, mypy
, pytestCheckHook
, python-lsp-server
@@ -22,6 +23,14 @@ buildPythonPackage rec {
hash = "sha256-fZ2bPPjBK/H2jMI4S3EhvWJaNl4tK7HstxcHSAkoFW4=";
};
patches = [
(fetchpatch {
name = "0001-adapt-test-to-latest-mypy.patch";
url = "https://github.com/python-lsp/pylsp-mypy/commit/99cf687798464f810b128881dbbec82aa5353e04.patch";
sha256 = "sha256-wLaGMaW/gTab2fX7zGnemLQQNDWxBURYb7VsgEas61Y=";
})
];
propagatedBuildInputs = [
mypy
python-lsp-server