From 06d04f05f4256324d99eb42dc29af778656292e4 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 25 May 2026 13:02:24 +0200 Subject: [PATCH] python3Packages.pytest-resource-path: migrate to finalAttrs --- .../python-modules/pytest-resource-path/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/pytest-resource-path/default.nix b/pkgs/development/python-modules/pytest-resource-path/default.nix index 9ed070b1cd50..37ea36285457 100644 --- a/pkgs/development/python-modules/pytest-resource-path/default.nix +++ b/pkgs/development/python-modules/pytest-resource-path/default.nix @@ -8,7 +8,7 @@ setuptools, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytest-resource-path"; version = "1.5.0"; pyproject = true; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "yukihiko-shinoda"; repo = "pytest-resource-path"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-Y/mB5Gmkt3Rt8rRBOFZrWIREnpEiSxf/MChqymXDNws="; }; @@ -36,4 +36,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = with lib.maintainers; [ fab ]; }; -} +})