summaryrefslogtreecommitdiff
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
parentb063cd4aa7d6d6b106a9562e578c7482c51fd085 (diff)
gnu: Add python-cocotb-test.
* gnu/packages/electronics.scm (python-cocotb-test): New variable. Change-Id: Iefe86be6c6d15280694e79b13ec013056346be01
-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.")
2101and reusable bus interfaces to be used with @code{cocotb}.") 2101and reusable bus interfaces to be used with @code{cocotb}.")
2102 (license license:bsd-3))) 2102 (license license:bsd-3)))
2103 2103
2104(define-public python-cocotb-test
2105 (package
2106 (name "python-cocotb-test")
2107 (version "0.2.6")
2108 (source
2109 (origin
2110 (method url-fetch)
2111 (uri (pypi-uri "cocotb_test" version))
2112 (sha256
2113 (base32 "14h62sr2prxd0iy1axq68b9zdfggnms230xgrimywphlr941jrm4"))))
2114 (build-system pyproject-build-system)
2115 (arguments (list #:tests? #f)) ;requires examples folder from python-cocotb
2116 (propagated-inputs
2117 (list python-cocotb))
2118 (native-inputs
2119 (list python-pytest python-setuptools))
2120 (home-page "https://pypi.org/project/cocotb-test/")
2121 (synopsis
2122 "Standard python unit testing cababilities for @code{python-cocotb}")
2123 (description "This package provides the look and feel of Python unit
2124testing to @code{cocotb}, removing the need of manipulating Makefiles.")
2125 (license license:bsd-3)))
2104(define-public python-edalize 2126(define-public python-edalize
2105 (package 2127 (package
2106 (name "python-edalize") 2128 (name "python-edalize")