python3Packages.buildcatrust: modernize package definition (#488487)

This commit is contained in:
Martin Weinelt
2026-02-09 03:54:14 +00:00
committed by GitHub
@@ -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 ];
};
}
})