diff options
| author | Alejandro Soto <alejandro@34project.org> | 2024-05-05 18:19:50 -0600 |
|---|---|---|
| committer | Alejandro Soto <alejandro@34project.org> | 2024-05-05 18:21:57 -0600 |
| commit | 1ffcdb62cd7e95ccd3f971d0b5cb2e617e1481b2 (patch) | |
| tree | 1c0f622359012e0790626e83bcca66d498b2b938 /nix/peakrdl/systemrdl-compiler.nix | |
| parent | ca02833f22b08ceeeff501107371aa6667426115 (diff) | |
nix: patch peakrdl-regblock to silence verilator's MULTIDRIVEN warning
Diffstat (limited to 'nix/peakrdl/systemrdl-compiler.nix')
| -rw-r--r-- | nix/peakrdl/systemrdl-compiler.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nix/peakrdl/systemrdl-compiler.nix b/nix/peakrdl/systemrdl-compiler.nix new file mode 100644 index 0000000..00c92d7 --- /dev/null +++ b/nix/peakrdl/systemrdl-compiler.nix @@ -0,0 +1,32 @@ +{ antlr4-python3-runtime +, buildPythonPackage +, colorama +, fetchPypi +, lib +, markdown +}: +let + pname = "systemrdl-compiler"; + version = "1.27.3"; +in +buildPythonPackage { + inherit pname version; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-22g1S/8ZTMcjbtaLrGTFu4GpoXtbp7bzezAHilClOj4="; + }; + + propagatedBuildInputs = [ + antlr4-python3-runtime + colorama + markdown + ]; + + meta = { + description = "Parse and elaborate front-end for SystemRDL 2.0"; + changelog = "https://github.com/SystemRDL/${pname}/releases/tag/v${version}"; + homepage = "https://github.com/SystemRDL/${pname}"; + license = lib.licenses.mit; + }; +} |
