python3Packages.peakrdl-markdown: cleanup

This moves the package definition to use the finalAttrs-style, as well
as consumes the newly named "peakrdl-cli" package instead of the "peakrdl" one.
This commit is contained in:
Jared Baur
2026-07-14 11:17:48 -07:00
parent a66fe2a0cc
commit ebcc350a3b
@@ -3,12 +3,13 @@
fetchFromGitHub,
gitUpdater,
lib,
peakrdl,
py-markdown-table,
peakrdl-cli,
poetry-core,
py-markdown-table,
systemrdl-compiler,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "peakrdl-markdown";
version = "1.0.3";
@@ -17,15 +18,16 @@ buildPythonPackage rec {
src = fetchFromGitHub {
owner = "SystemRDL";
repo = "PeakRDL-markdown";
tag = "v${version}";
tag = "v${finalAttrs.version}";
hash = "sha256-Dt8FxnvvXY9nVhFehIcfSC9mFbbEzEuaVnBMu032dug=";
};
build-system = [ poetry-core ];
dependencies = [
peakrdl
peakrdl-cli
py-markdown-table
systemrdl-compiler
];
passthru.updateScript = gitUpdater { rev-prefix = "v"; };
@@ -36,4 +38,4 @@ buildPythonPackage rec {
license = lib.licenses.gpl3Only;
maintainers = [ lib.maintainers.jmbaur ];
};
}
})