From 5bbc3f65e45a12bd370c73e1d8bf9c8d34afd208 Mon Sep 17 00:00:00 2001 From: Harinn Date: Fri, 31 Jul 2026 23:11:41 +0700 Subject: [PATCH] python3Packages.strictyaml: use finalAttrs and enable __structuredAttrs --- pkgs/development/python-modules/strictyaml/default.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/strictyaml/default.nix b/pkgs/development/python-modules/strictyaml/default.nix index ccc0d598da8f..8abbc899bd1e 100644 --- a/pkgs/development/python-modules/strictyaml/default.nix +++ b/pkgs/development/python-modules/strictyaml/default.nix @@ -7,13 +7,15 @@ python-dateutil, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "strictyaml"; version = "1.7.3"; pyproject = true; + __structuredAttrs = true; + src = fetchPypi { - inherit pname version; + inherit (finalAttrs) pname version; hash = "sha256-IvhUpfyrQrXduoAwoOS+UcqJrwJnlhyNbPqGOVWGxAc="; }; @@ -42,4 +44,4 @@ buildPythonPackage rec { license = lib.licenses.mit; maintainers = [ ]; }; -} +})