17 buildPythonPackage rec {
22 disabled = pythonOlder "3.8";
24 src = fetchFromGitHub {
27 rev = "refs/tags/${version}";
28 hash = "sha256-MP9a8dI5ggM+XEJYB6O4nYDYIXbtxi2TK5b+JQgViZQ=";
31 build-system = [ setuptools ];
36 ] ++ lib.optional (pythonOlder "3.11") tomli;
38 nativeCheckInputs = [ pytestCheckHook ];
40 pythonImportsCheck = [ "pylsp_mypy" ];
43 # Tests wants to call dmypy
44 "test_option_overrides_dmypy"
48 description = "Mypy plugin for the Python LSP Server";
49 homepage = "https://github.com/python-lsp/pylsp-mypy";
50 changelog = "https://github.com/python-lsp/pylsp-mypy/releases/tag/${version}";
51 license = lib.licenses.mit;
52 maintainers = with lib.maintainers; [ cpcloud ];