diff options
| -rw-r--r-- | flake.nix | 1 | ||||
| -rw-r--r-- | nix/pyuvm.nix | 35 |
2 files changed, 36 insertions, 0 deletions
@@ -146,6 +146,7 @@ numpy pillow pytest # Para cocotb + (py.callPackage ./nix/pyuvm.nix { }) ])) (quartus-prime-lite.override { supportedDevices = [ "Cyclone V" ]; }) verilator diff --git a/nix/pyuvm.nix b/nix/pyuvm.nix new file mode 100644 index 0000000..a77b20e --- /dev/null +++ b/nix/pyuvm.nix @@ -0,0 +1,35 @@ +{ buildPythonPackage +, cocotb +, fetchPypi +, lib +, pylint +, pytest +, sphinx +}: let + pname = "pyuvm"; + version = "2.9.1"; +in buildPythonPackage { + inherit pname version; + + src = fetchPypi { + inherit pname version; + sha256 = "sha256-2Td+rRsgygwZ7iHY7LzfQRlJ0oxJ49URn4A+EgaeKuo="; + }; + + propagatedBuildInputs = [ + cocotb + pytest + ]; + + propagatedNativeBuildInputs = [ + pylint + sphinx + ]; + + meta = { + description = "pyuvm is the Universal Verification Methodology implemented in Python instead of SystemVerilog"; + changelog = "https://github.com/pyuvm/pyuvm/releases/tag/${version}"; + homepage = "https://github.com/pyuvm/pyuvm"; + license = lib.licenses.asl20; + }; +} |
