Merge pull request #287900 from patka-123/python311Packages-pytest-mypy

python311Packages.pytest-mypy: fix build

authored by Martin Weinelt and committed by GitHub a971794a c2576b5a

+15 -4
+15 -4
pkgs/development/python-modules/pytest-mypy/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , fetchPypi 4 , filelock 5 , pytest 6 , mypy 7 , setuptools-scm 8 }: 9 10 buildPythonPackage rec { 11 pname = "pytest-mypy"; 12 version = "0.10.3"; 13 - format = "setuptools"; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-+EWPZCMj8Toso+LmFQn3dnlmtSe02K3M1QMsPntP09s="; 18 }; 19 20 - nativeBuildInputs = [ setuptools-scm ]; 21 22 - buildInputs = [ pytest ]; 23 24 - propagatedBuildInputs = [ mypy filelock ]; 25 26 # does not contain tests 27 doCheck = false;
··· 1 { lib 2 + , attrs 3 , buildPythonPackage 4 , fetchPypi 5 , filelock 6 , pytest 7 , mypy 8 + , setuptools 9 , setuptools-scm 10 }: 11 12 buildPythonPackage rec { 13 pname = "pytest-mypy"; 14 version = "0.10.3"; 15 + pyproject = true; 16 17 src = fetchPypi { 18 inherit pname version; 19 hash = "sha256-+EWPZCMj8Toso+LmFQn3dnlmtSe02K3M1QMsPntP09s="; 20 }; 21 22 + nativeBuildInputs = [ 23 + setuptools 24 + setuptools-scm 25 + ]; 26 27 + buildInputs = [ 28 + pytest 29 + ]; 30 31 + propagatedBuildInputs = [ 32 + attrs 33 + mypy 34 + filelock 35 + ]; 36 37 # does not contain tests 38 doCheck = false;