From 58906a9d0906d63f7606f1d49a58723c2f5bf4e3 Mon Sep 17 00:00:00 2001 From: Patka Date: Sun, 11 Feb 2024 00:59:29 +0100 Subject: [PATCH] python311Packages.pytest-mypy: fix build --- .../python-modules/pytest-mypy/default.nix | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pytest-mypy/default.nix b/pkgs/development/python-modules/pytest-mypy/default.nix index 4e368fb1f169..bfe9fb613e24 100644 --- a/pkgs/development/python-modules/pytest-mypy/default.nix +++ b/pkgs/development/python-modules/pytest-mypy/default.nix @@ -1,27 +1,38 @@ { lib +, attrs , buildPythonPackage , fetchPypi , filelock , pytest , mypy +, setuptools , setuptools-scm }: buildPythonPackage rec { pname = "pytest-mypy"; version = "0.10.3"; - format = "setuptools"; + pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-+EWPZCMj8Toso+LmFQn3dnlmtSe02K3M1QMsPntP09s="; }; - nativeBuildInputs = [ setuptools-scm ]; + nativeBuildInputs = [ + setuptools + setuptools-scm + ]; - buildInputs = [ pytest ]; + buildInputs = [ + pytest + ]; - propagatedBuildInputs = [ mypy filelock ]; + propagatedBuildInputs = [ + attrs + mypy + filelock + ]; # does not contain tests doCheck = false;