GNU bug report logs -
#45310
[PATCH] gnu: Add python-migen.
Previous Next
Reported by: Vinicius Monego <monego <at> posteo.net>
Date: Fri, 18 Dec 2020 09:12:01 UTC
Severity: normal
Tags: patch
Done: Mathieu Othacehe <othacehe <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Wed, 30 Dec 2020 12:00:48 +0100
with message-id <87wnwz5zj3.fsf <at> gnu.org>
and subject line Re: [bug#45310] [PATCH] gnu: Add python-migen.
has caused the debbugs.gnu.org bug report #45310,
regarding [PATCH] gnu: Add python-migen.
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
45310: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=45310
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
* gnu/packages/fpga.scm (python-migen): New variable.
---
gnu/packages/fpga.scm | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
diff --git a/gnu/packages/fpga.scm b/gnu/packages/fpga.scm
index 1802e0ed14..7dee6d4eef 100644
--- a/gnu/packages/fpga.scm
+++ b/gnu/packages/fpga.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2016, 2017 Theodoros Foradis <theodoros <at> foradis.org>
;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice <me <at> tobias.gr>
;;; Copyright © 2019 Amin Bandali <bandali <at> gnu.org>
+;;; Copyright © 2020 Vinicius Monego <monego <at> posteo.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -33,6 +34,7 @@
#:use-module (gnu packages tcl)
#:use-module (gnu packages readline)
#:use-module (gnu packages python)
+ #:use-module (gnu packages python-xyz)
#:use-module (gnu packages bison)
#:use-module (gnu packages flex)
#:use-module (gnu packages gtk)
@@ -376,6 +378,33 @@ simulator trace files (@dfn{FST}).")
;; Exception against free government use in tcl_np.c and tcl_np.h.
(license (list license:gpl2+ license:expat license:tcl/tk))))
+(define-public python-migen
+ (package
+ (name "python-migen")
+ (version "0.9.2")
+ (source
+ (origin
+ ;; Tests fail in the PyPI tarball due to missing files.
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/m-labs/migen")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1kq11if64zj84gv4w1q7l16fp17xjxl2wv5hc9dibr1z3m1gy67l"))))
+ (build-system python-build-system)
+ (propagated-inputs
+ `(("python-colorama" ,python-colorama)))
+ (home-page "https://m-labs.hk/gateware/migen")
+ (synopsis "Python toolbox for building complex digital hardware")
+ (description
+ "Migen FHDL is a Python library that replaces the event-driven
+paradigm of Verilog and VHDL with the notions of combinatorial and
+synchronous statements, has arithmetic rules that make integers always
+behave like mathematical integers, and allows the design's logic to be
+constructed by a Python program.")
+ (license license:bsd-2)))
+
(define-public python-myhdl
(package
(name "python-myhdl")
--
2.29.2
[Message part 3 (message/rfc822, inline)]
Hey,
> * gnu/packages/fpga.scm (python-migen): New variable.
Pushed, thanks!
Mathieu
This bug report was last modified 4 years and 202 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.