From dc0262c63df60987ec64ce8e8df09359310d7a3d Mon Sep 17 00:00:00 2001 From: Alejandro Soto Date: Wed, 3 Apr 2024 05:50:55 -0600 Subject: flake: add pyuvm --- nix/pyuvm.nix | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 nix/pyuvm.nix (limited to 'nix') 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; + }; +} -- cgit v1.2.3