From patchwork Tue Jun 10 08:57:02 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Cayetano Santos X-Patchwork-Id: 43055 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id ABBA627BC4A; Tue, 10 Jun 2025 10:04:32 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DD76727BC49 for ; Tue, 10 Jun 2025 10:04:30 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1uOuu1-0001lH-Ri; Tue, 10 Jun 2025 05:04:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uOutx-0001l6-N5 for guix-patches@gnu.org; Tue, 10 Jun 2025 05:04:14 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1uOutx-0005ft-E0 for guix-patches@gnu.org; Tue, 10 Jun 2025 05:04:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:In-Reply-To:References:Subject; bh=eAlYgZzL5l5g8cyx4W3vKciA5g97tSZ/ii/zLWIAI6Q=; b=osQBhTiBP4p1lxYJr57YHKblmVTWik/C7XN3ynMGwBdHb72oIn4A6lGqCcIVK/K5VC5jhwU2mBlDuke4/YEYv/IBnRxyotkV4ySfduFKZpcOOAET5HpBTpWvr6m7OvFxiXw1NPqbdKckp4784hab4Z4d9jUn/60gKukSrp2mi4SAEd6MWzGXHc0KPkORN98rqkX8QS7ynu4aEXbB6wtytRrL2BNiCCAP9NpFfSUsCyTuB3spZ0WznmZ38Yd5SJS8eOMOhAZwUNgvb4JpjPqxYSE/Xzk7ZA7nwKXmmFuNjDCFxnsNY5DWW2u0Et/e2xZVgzK4oxGP2ivtIiruhFcWXQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1uOutm-0005Ow-79; Tue, 10 Jun 2025 05:04:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#78422] [PATCH electronics-team v4] gnu: Add apycula. References: In-Reply-To: Resent-From: Cayetano Santos Original-Sender: "Debbugs-submit" Resent-CC: csantosb@inventati.org, ekaitz@elenq.tech, gabriel@erlikon.ch, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Tue, 10 Jun 2025 09:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 78422 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: moreinfo patch To: 78422@debbugs.gnu.org Cc: Cayetano Santos , Ekaitz Zarraga , Gabriel Wicki , Maxim Cournoyer X-Debbugs-Original-Cc: Cayetano Santos via Guix-patches via X-Debbugs-Original-Xcc: Cayetano Santos , Ekaitz Zarraga , Gabriel Wicki , Maxim Cournoyer Received: via spool by 78422-submit@debbugs.gnu.org id=B78422.174954622520678 (code B ref 78422); Tue, 10 Jun 2025 09:04:02 +0000 Received: (at 78422) by debbugs.gnu.org; 10 Jun 2025 09:03:45 +0000 Received: from localhost ([127.0.0.1]:34174 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uOutU-0005NS-HX for submit@debbugs.gnu.org; Tue, 10 Jun 2025 05:03:44 -0400 Received: from confino.investici.org ([93.190.126.19]:24371) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uOutR-0005N9-8U for 78422@debbugs.gnu.org; Tue, 10 Jun 2025 05:03:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inventati.org; s=stigmate; t=1749546218; bh=eAlYgZzL5l5g8cyx4W3vKciA5g97tSZ/ii/zLWIAI6Q=; h=From:To:Cc:Subject:Date:From; b=AwgMBEo+obfcblWl3vtSK+Oomj0N7kG3Nyji9m67QHjZtREbdbWSIFTdoDP4A8cWp 5TTIs/lQsRJKrEDYvwZmnZikA2zMM4xQUoh1hfEVNuaOwONeGxlzphZkvLZ0PRvhBb jmvX5bWmCZlgz/p1uU5gYaJepNKAzW7GYh6kGA8s= Received: from mx1.investici.org (unknown [127.0.0.1]) by confino.investici.org (Postfix) with ESMTP id 4bGjWZ6fSRz115L; Tue, 10 Jun 2025 09:03:38 +0000 (UTC) Received: from [93.190.126.19] (mx1.investici.org [93.190.126.19]) (Authenticated sender: cayetano.santos@inventati.org) by localhost (Postfix) with ESMTPSA id 4bGjWZ4C1Vz115B; Tue, 10 Jun 2025 09:03:38 +0000 (UTC) Date: Tue, 10 Jun 2025 10:57:02 +0200 Message-ID: X-Mailer: git-send-email 2.49.0 MIME-Version: 1.0 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: , Reply-to: Cayetano Santos X-ACL-Warn: , Cayetano Santos via Guix-patches X-Patchwork-Original-From: Cayetano Santos via Guix-patches via From: Cayetano Santos Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches From: Cayetano Santos via Guix-patches via * gnu/packages/electronics.scm (apycula): New variable. Change-Id: I8e65416c1a555be189e9b8433d1ec7165aee16e9 --- With respect to previous version: - updated to 0.20 - removed sanity-check-fix, as for github.com/YosysHQ/apicula/issues/337 - renamed package Pickle files in the tar.gz need to be produced with gowin-eda, which cannot be packaged. To my understanding, these files are distributed under a mit license. gnu/packages/electronics.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) base-commit: 5fd4df347e04b6cd3ce3fc91900f773a2e4824e3 -- 2.49.0 diff --git a/gnu/packages/electronics.scm b/gnu/packages/electronics.scm index 5910b5cc39..9a7c2b69df 100644 --- a/gnu/packages/electronics.scm +++ b/gnu/packages/electronics.scm @@ -29,6 +29,7 @@ (define-module (gnu packages electronics) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system pyproject) + #:use-module (guix build-system python) #:use-module (guix download) #:use-module (guix gexp) #:use-module (guix git-download) @@ -561,6 +562,31 @@ (define-public pulseview for sigrok.") (license license:gpl3+))) +(define-public apycula + (package + (name "apycula") + (version "0.20") + ;; The pypi tar.gz file includes the necessary .pickle files, not available + ;; in the home-page repository. + (source + (origin + (method url-fetch) + (uri (pypi-uri "Apycula" version)) + (sha256 + (base32 "1dyi14kydn2cq4zja9aqjn1ic78g453i18f3hy7a6bxn746291yz")))) + (build-system pyproject-build-system) + (arguments + (list + #:tests? #f)) ;requires Gowin EDA tools + (inputs (list python-crc)) + (native-inputs (list python-setuptools python-wheel)) + (home-page "https://github.com/YosysHQ/apicula/") + (synopsis "Gowin FPGA bitstream format") + (description + "The project Apycula provides tools to support development and +generating bitstreams with Gowin FPGAs.") + (license license:expat))) + (define-public python-edalize (package (name "python-edalize")