unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#68153] [PATCH] gnu: Add python-cocotb.
@ 2023-12-30 18:44 Cayetano Santos via Guix-patches via
  2023-12-31 11:14 ` [bug#68153] [PATCH] gnu: Add python-find-libpython Troy Figiel
  2023-12-31 11:27 ` [bug#68153] python-find-libpython Troy Figiel
  0 siblings, 2 replies; 4+ messages in thread
From: Cayetano Santos via Guix-patches via @ 2023-12-30 18:44 UTC (permalink / raw)
  To: 68153; +Cc: Cayetano Santos

* gnu/packages/fpga.scm (python-cocotb): New variable.

Signed-off-by: Cayetano Santos <csantosb@inventati.org>
---
 gnu/packages/fpga.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 13ac1a0b57..74eff01a7a 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -422,6 +422,33 @@ (define-public python-myhdl
 a hardware description and verification language.")
     (license license:lgpl2.1+)))
 
+(define-public python-cocotb
+  (package
+    (name "python-cocotb")
+    (version "1.8.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/cocotb/cocotb")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32
+         "07h8c3cjn4hhywvakcyk3chia102iszn6kjm53vl5f16rwy9xd07"))))
+    (build-system python-build-system)
+    (propagated-inputs (list python-find_libpython))
+    (arguments
+     `(#:tests? #f			; no test suite
+       ))
+    (home-page "https://github.com/cocotb/cocotb")
+    (synopsis
+     "Library for writing HDL testbenches in Python")
+    (description
+     "Coroutine based cosimulation testbench environment for
+verifying VHDL and Verilog RTL using Python.")
+    (license license:bsd-3)))
+
 (define-public nvc
   (package
     (name "nvc")

base-commit: 7722da6fa5422c4fec69d6c8b9536c7d6fc3d326
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-11-19 10:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-30 18:44 [bug#68153] [PATCH] gnu: Add python-cocotb Cayetano Santos via Guix-patches via
2023-12-31 11:14 ` [bug#68153] [PATCH] gnu: Add python-find-libpython Troy Figiel
2023-12-31 11:27 ` [bug#68153] python-find-libpython Troy Figiel
2024-11-19 10:51   ` Cayetano Santos via Guix-patches via

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).