python3Packages.mypy: propagate pathspec

This was a misjudgement during the update, where pathspec was only added
as a build-time dependency.
This commit is contained in:
Martin Weinelt
2025-08-20 01:21:42 +02:00
parent 92aad01e3c
commit 707b72f756
@@ -38,7 +38,7 @@ buildPythonPackage rec {
pyproject = true;
# relies on several CPython internals
disabled = pythonOlder "3.8" || isPyPy;
disabled = isPyPy;
src = fetchFromGitHub {
owner = "python";
@@ -71,6 +71,7 @@ buildPythonPackage rec {
dependencies = [
mypy-extensions
pathspec
typing-extensions
]
++ lib.optionals (pythonOlder "3.11") [ tomli ];
@@ -144,6 +145,7 @@ buildPythonPackage rec {
description = "Optional static typing for Python";
homepage = "https://www.mypy-lang.org";
changelog = "https://github.com/python/mypy/blob/${src.rev}/CHANGELOG.md";
downloadPage = "https://github.com/python/mypy";
license = lib.licenses.mit;
mainProgram = "mypy";
maintainers = with lib.maintainers; [ lnl7 ];