From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +EbRDXly3F+KLQAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 09:12:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id wBKSCXly3F9mQgAAbx9fmQ (envelope-from ) for ; Fri, 18 Dec 2020 09:12:25 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id C2D449402B0 for ; Fri, 18 Dec 2020 09:12:24 +0000 (UTC) Received: from localhost ([::1]:55948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqBoF-0003G0-IW for larch@yhetil.org; Fri, 18 Dec 2020 04:12:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57870) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBnu-0003Fg-HE for guix-patches@gnu.org; Fri, 18 Dec 2020 04:12:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:54349) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqBnu-0007Bv-9c for guix-patches@gnu.org; Fri, 18 Dec 2020 04:12:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqBnu-00059A-2K for guix-patches@gnu.org; Fri, 18 Dec 2020 04:12:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45310] [PATCH] gnu: Add python-migen. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Dec 2020 09:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45310 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45310@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160828269919744 (code B ref -1); Fri, 18 Dec 2020 09:12:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Dec 2020 09:11:39 +0000 Received: from localhost ([127.0.0.1]:37662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqBnT-00058L-D4 for submit@debbugs.gnu.org; Fri, 18 Dec 2020 04:11:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:49790) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqBnQ-00058C-0x for submit@debbugs.gnu.org; Fri, 18 Dec 2020 04:11:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:57778) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBnP-00036A-Hu for guix-patches@gnu.org; Fri, 18 Dec 2020 04:11:31 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51990) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqBnK-0006z7-RX for guix-patches@gnu.org; Fri, 18 Dec 2020 04:11:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 165E616005F for ; Fri, 18 Dec 2020 10:11:21 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1608282682; bh=B8CUQ1ueeA1Se/ETAcheG1yFCuc/QqEd88HuJRUs4Ek=; h=From:To:Cc:Subject:Date:From; b=KMoC1FFfX/+ChYtGy/j39tRD3QX+9acZpySqpCAAfYHB75uMLaU1u4geYLUW/e3Ri 5/AutK6uK+0X849gdZ18+WB49SEhQAIi7Oj1ly24zo6/Ao4VzwJsfiDY4uwRa9VX7A mcJNV1S4oNsAHoe47MQeOgK35qT0F0owl9si5z9Tw2Inz67fUbRsxklIxVAeT3l0vZ alTRMxmjEUfkYHmBe895jn4pxeIdjj7i8nsp/A7b5UDiA7/oPqee7VOPR4v/K1vERr TBl9K6LMc9l8IH7JG2lSZDLXVl3cX23TeoBwVnSHrP+gMEv+cOqrzHweTJKPkcBVwx VwMUGjPEwq/Gw== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4Cy3515XMVz6tmN; Fri, 18 Dec 2020 10:11:16 +0100 (CET) From: Vinicius Monego Date: Fri, 18 Dec 2020 06:11:00 -0300 Message-Id: <20201218091100.22318-1-monego@posteo.net> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=185.67.36.65; envelope-from=monego@posteo.net; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Vinicius Monego Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -0.22 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=posteo.net header.s=2017 header.b=KMoC1FFf; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: C2D449402B0 X-Spam-Score: -0.22 X-Migadu-Scanner: scn0.migadu.com X-TUID: SmuYa4EKPmbX * 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 ;;; Copyright © 2018, 2019, 2020 Tobias Geerinckx-Rice ;;; Copyright © 2019 Amin Bandali +;;; Copyright © 2020 Vinicius Monego ;;; ;;; 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