1{ lib 2, buildPythonPackage 3, fetchPypi 4, filelock 5, pytest 6, mypy 7, setuptools-scm 8}: 9 10buildPythonPackage rec { 11 pname = "pytest-mypy"; 12 version = "0.8.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "1fa55723a4bf1d054fcba1c3bd694215a2a65cc95ab10164f5808afd893f3b11"; 17 }; 18 19 nativeBuildInputs = [ setuptools-scm ]; 20 21 buildInputs = [ pytest ]; 22 23 propagatedBuildInputs = [ mypy filelock ]; 24 25 # does not contain tests 26 doCheck = false; 27 pythonImportsCheck = [ "pytest_mypy" ]; 28 29 meta = with lib; { 30 description = "Mypy static type checker plugin for Pytest"; 31 homepage = "https://github.com/dbader/pytest-mypy"; 32 license = licenses.mit; 33 maintainers = [ maintainers.costrouc ]; 34 }; 35}