summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-12-16 15:37:52 +0100
committerCayetano Santos <csantosb@inventati.org>2025-12-22 07:50:15 +0100
commitfb62e8f04685ae18efb5452a75d3b9f237a30bf9 (patch)
tree4591df37a7d426baa4bc2f43d92808d6cc6599cc /gnu
parentb063cd4aa7d6d6b106a9562e578c7482c51fd085 (diff)
gnu: Add python-cocotb-test.
* gnu/packages/electronics.scm (python-cocotb-test): New variable. Change-Id: Iefe86be6c6d15280694e79b13ec013056346be01
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/electronics.scm22
1 files changed, 22 insertions, 0 deletions
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")