1 { lib, buildPythonPackage, fetchFromGitHub, isPy27
2 , future, python-language-server, mypy, configparser
3 , pytestCheckHook, mock, pytestcov, coverage
7 buildPythonPackage rec {
11 src = fetchFromGitHub {
15 sha256 = "14giyvcrq4w3asm1nyablw70zkakkcsr76chk5a41alxlk4l2alb";
18 # presumably tests don't find typehints ?
22 "test_parse_line_without_line"
30 # makes future optional
32 url = "https://github.com/tomv564/pyls-mypy/commit/2949582ff5f39b1de51eacc92de6cfacf1b5ab75.patch";
33 sha256 = "0bqkvdy5mxyi46nhq5ryynf465f68b6ffy84hmhxrigkapz085g5";
37 checkInputs = [ mock pytestcov coverage pytestCheckHook ];
39 propagatedBuildInputs = [
40 mypy python-language-server configparser
41 ] ++ lib.optional (isPy27) [
46 homepage = "https://github.com/tomv564/pyls-mypy";
47 description = "Mypy plugin for the Python Language Server";
48 license = licenses.mit;
49 maintainers = [ maintainers.mic92 ];