diff options
Diffstat (limited to 'nix/systemrdl-compiler.nix')
| -rw-r--r-- | nix/systemrdl-compiler.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/nix/systemrdl-compiler.nix b/nix/systemrdl-compiler.nix new file mode 100644 index 0000000..00c92d7 --- /dev/null +++ b/nix/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; + }; +} |
