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/peakrdl.nix | |
| parent | ca02833f22b08ceeeff501107371aa6667426115 (diff) | |
nix: patch peakrdl-regblock to silence verilator's MULTIDRIVEN warning
Diffstat (limited to 'nix/peakrdl/peakrdl.nix')
| -rw-r--r-- | nix/peakrdl/peakrdl.nix | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/nix/peakrdl/peakrdl.nix b/nix/peakrdl/peakrdl.nix new file mode 100644 index 0000000..48cf1fa --- /dev/null +++ b/nix/peakrdl/peakrdl.nix @@ -0,0 +1,31 @@ +{ buildPythonPackage +, fetchPypi +, lib +, setuptools +, setuptools-scm +}: +let + pname = "peakrdl"; + version = "1.1.0"; +in +buildPythonPackage { + inherit pname version; + format = "pyproject"; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-ZiqdXOaovFnOymvUQvT76OSwHlP+FLm/fuj5H/bY10w="; + }; + + propagatedNativeBuildInputs = [ + setuptools + setuptools-scm + ]; + + meta = { + description = "PeakRDL is a free and open-source control & status register (CSR) toolchain"; + changelog = "https://github.com/SystemRDL/${pname}/releases/tag/v${version}"; + homepage = "https://github.com/SystemRDL/${pname}"; + license = lib.licenses.gpl3; + }; +} |
