Merge pull request #203597 from GaetanLepage/fix-mypy

python310Packages.pylsp-mypy: fix test
This commit is contained in:
Mario Rodas 2022-11-29 09:37:38 -05:00 committed by GitHub
commit 2328d55c22
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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