From fb62e8f04685ae18efb5452a75d3b9f237a30bf9 Mon Sep 17 00:00:00 2001 From: Cayetano Santos Date: Tue, 16 Dec 2025 15:37:52 +0100 Subject: [PATCH] gnu: Add python-cocotb-test. * gnu/packages/electronics.scm (python-cocotb-test): New variable. Change-Id: Iefe86be6c6d15280694e79b13ec013056346be01 --- gnu/packages/electronics.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index cadd8244868..28b750d545e 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -2101,6 +2101,28 @@ and Verilog RTL using Python.") and reusable bus interfaces to be used with @code{cocotb}.") (license license:bsd-3))) +(define-public python-cocotb-test + (package + (name "python-cocotb-test") + (version "0.2.6") + (source + (origin + (method url-fetch) + (uri (pypi-uri "cocotb_test" version)) + (sha256 + (base32 "14h62sr2prxd0iy1axq68b9zdfggnms230xgrimywphlr941jrm4")))) + (build-system pyproject-build-system) + (arguments (list #:tests? #f)) ;requires examples folder from python-cocotb + (propagated-inputs + (list python-cocotb)) + (native-inputs + (list python-pytest python-setuptools)) + (home-page "https://pypi.org/project/cocotb-test/") + (synopsis + "Standard python unit testing cababilities for @code{python-cocotb}") + (description "This package provides the look and feel of Python unit +testing to @code{cocotb}, removing the need of manipulating Makefiles.") + (license license:bsd-3))) (define-public python-edalize (package (name "python-edalize")