From fc00559d5785340f8f4323cce517f4bcb39ea2ce Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 5 Jan 2026 00:13:37 +0100 Subject: [PATCH] python3Packages.pytest-mypy: use finalAttrs --- pkgs/development/python-modules/pytest-mypy/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-mypy/default.nix b/pkgs/development/python-modules/pytest-mypy/default.nix index bdda80f446b6..ffa787e2043d 100644 --- a/pkgs/development/python-modules/pytest-mypy/default.nix +++ b/pkgs/development/python-modules/pytest-mypy/default.nix @@ -10,14 +10,14 @@ setuptools-scm, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytest-mypy"; version = "1.0.1"; pyproject = true; src = fetchPypi { pname = "pytest_mypy"; - inherit version; + inherit (finalAttrs) version; hash = "sha256-P1/K/3XIDczGtoz17MKOG75x6VMJRp63oov0CM5VwHQ="; }; @@ -44,4 +44,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ sigmanificient ]; }; -} +})