13 buildPythonPackage rec {
18 disabled = pythonOlder "3.7";
20 src = fetchFromGitHub {
23 rev = "refs/tags/${version}";
24 hash = "sha256-ZsNIw0xjxnU9Ue0C7TlhzVOCOCKEbCa2CsiiqeMb14I=";
28 # https://github.com/python-lsp/pylsp-mypy/pull/64
30 name = "fix-hanging-test.patch";
31 url = "https://github.com/python-lsp/pylsp-mypy/commit/90d28edb474135007804f1e041f88713a95736f9.patch";
32 hash = "sha256-3DVyUXVImRemXCuyoXlYbPJm6p8OnhBdEKmwjx88ets=";
40 propagatedBuildInputs = [
43 ] ++ lib.optionals (pythonOlder "3.11") [
51 pythonImportsCheck = [
56 # Tests wants to call dmypy
57 "test_option_overrides_dmypy"
61 description = "Mypy plugin for the Python LSP Server";
62 homepage = "https://github.com/python-lsp/pylsp-mypy";
63 license = licenses.mit;
64 maintainers = with maintainers; [ cpcloud ];