python3Packages.strictyaml: use finalAttrs and enable __structuredAttrs

This commit is contained in:
Harinn
2026-07-31 23:11:41 +07:00
parent 42107ef218
commit 5bbc3f65e4

View File

@@ -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 = [ ];
};
}
})