python3Packages.buildcatrust: modernize package definition to use finalAttrs

This commit is contained in:
Guy Chronister
2026-02-08 19:57:56 -06:00
parent fcd1e55e17
commit ecc2030ab6
@@ -6,17 +6,17 @@
pytestCheckHook,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "buildcatrust";
version = "0.4.0";
pyproject = true;
src = fetchPypi {
inherit pname version;
inherit (finalAttrs) pname version;
hash = "sha256-GYw/RN1OK5fqo3em8hia2l/IwN76hnPnFuYprqeX144=";
};
nativeBuildInputs = [ flit-core ];
build-system = [ flit-core ];
nativeCheckInputs = [ pytestCheckHook ];
@@ -37,4 +37,4 @@ buildPythonPackage rec {
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ lukegb ];
};
}
})