From ec0ddb1b4f29d79f9c83d1828c3abd71ff1f1798 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 5 Jan 2026 12:36:41 +0000 Subject: [PATCH] python3Packages.drf-writable-nested: use finalAttrs --- .../python-modules/drf-writable-nested/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/drf-writable-nested/default.nix b/pkgs/development/python-modules/drf-writable-nested/default.nix index 227fad5b5b04..966e07b48e2a 100644 --- a/pkgs/development/python-modules/drf-writable-nested/default.nix +++ b/pkgs/development/python-modules/drf-writable-nested/default.nix @@ -8,7 +8,7 @@ pytest-django, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "drf-writable-nested"; version = "0.7.2"; format = "setuptools"; @@ -16,7 +16,7 @@ buildPythonPackage rec { src = fetchFromGitHub { owner = "beda-software"; repo = "drf-writable-nested"; - tag = "v${version}"; + tag = "v${finalAttrs.version}"; hash = "sha256-VkQ3Di3vXxQAmvuMP8KpGVVdx7LMYcQFEF4ZsuA9KeA="; }; @@ -36,4 +36,4 @@ buildPythonPackage rec { license = lib.licenses.bsd2; maintainers = with lib.maintainers; [ ambroisie ]; }; -} +})