peakrdl-rust: init at 0.4.0

This commit is contained in:
Jared Baur
2025-12-13 18:08:03 -08:00
parent 92efb4f1f5
commit 4ab6bb8814
2 changed files with 42 additions and 0 deletions
@@ -0,0 +1,40 @@
{
buildPythonPackage,
case-converter,
fetchFromGitHub,
jinja2,
lib,
peakrdl,
systemrdl-compiler,
uv-build,
}:
buildPythonPackage rec {
pname = "peakrdl-rust";
version = "0.4.0";
pyproject = true;
src = fetchFromGitHub {
owner = "darsor";
repo = "PeakRDL-rust";
tag = "v${version}";
hash = "sha256-MD0iMdNFvu/V/yWnivJ9cbE0/d77bsoCVScpMMGMG/I=";
};
build-system = [ uv-build ];
dependencies = [
case-converter
jinja2
peakrdl
systemrdl-compiler
];
meta = {
description = "Generate a Rust crate from SystemRDL for accessing control/status registers";
homepage = "https://peakrdl-rust.readthedocs.io/";
license = lib.licenses.lgpl21Only;
maintainers = [ lib.maintainers.jmbaur ];
};
}
+2
View File
@@ -11878,6 +11878,8 @@ self: super: with self; {
peakrdl-regblock = callPackage ../development/python-modules/peakrdl-regblock { };
peakrdl-rust = callPackage ../development/python-modules/peakrdl-rust { };
peakutils = callPackage ../development/python-modules/peakutils { };
peaqevcore = callPackage ../development/python-modules/peaqevcore { };