From patchwork Tue Aug 29 14:01:50 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Peter Polidoro X-Patchwork-Id: 53277 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 0042327BBEA; Tue, 29 Aug 2023 15:03:35 +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=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 5CD9627BBE2 for ; Tue, 29 Aug 2023 15:03:34 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qazJb-0006aG-Ng; Tue, 29 Aug 2023 10:03:31 -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 1qazJ3-0006Fj-6n for guix-patches@gnu.org; Tue, 29 Aug 2023 10:02:57 -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 1qazJ2-0003mt-2X for guix-patches@gnu.org; Tue, 29 Aug 2023 10:02:56 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qazJ9-0005xM-0V for guix-patches@gnu.org; Tue, 29 Aug 2023 10:03:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64375] [PATCH 4/4] gnu: Add platformio. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 29 Aug 2023 14:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64375 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64375@debbugs.gnu.org Cc: Peter Polidoro Received: via spool by 64375-submit@debbugs.gnu.org id=B64375.169331774922823 (code B ref 64375); Tue, 29 Aug 2023 14:03:02 +0000 Received: (at 64375) by debbugs.gnu.org; 29 Aug 2023 14:02:29 +0000 Received: from localhost ([127.0.0.1]:51297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qazIa-0005vz-A9 for submit@debbugs.gnu.org; Tue, 29 Aug 2023 10:02:28 -0400 Received: from dragonfly.birch.relay.mailchannels.net ([23.83.209.51]:3964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qazIP-0005uz-Kh for 64375@debbugs.gnu.org; Tue, 29 Aug 2023 10:02:21 -0400 X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6D986900C70; Tue, 29 Aug 2023 14:02:08 +0000 (UTC) Received: from pdx1-sub0-mail-a213.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 1CCDE900736; Tue, 29 Aug 2023 14:02:07 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1693317727; a=rsa-sha256; cv=none; b=z1GYmMS+eXaJcT/sYVAD4urQeusi1CW8m0OGteaeTlY5xoBvv6BMCquSiasacNc3UOeu8V u1pPL8+ZB7T4OwjsNWy/KlGEV4zbpYRFo2s7cGj97cS+qUdaTff7fZj+UlaubHnp/38hHE ceaWaHgFBYInvlg6NZaa0mwfSA6gPm1BmvDepLzNK4TgYg9ssRcDFeRasFIqlbfKBGFY2f Zl0g6r4aL+ZS50IGpgkZ9W6LvM+ZQTxTK415IEBN9ChBZ66y0oG7W/+KaDy4T1CyuElqNa 8DDa+1JUfe1699KX89WKjKvhb8p9Yyk6+DYbXWDb6uYCBmPH6mTjsaxItSCbYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1693317727; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=ktsDwSEFGDIpG6t745yXkH5r7x/y67KCRVd5C4Mffsc=; b=kn/e+rwQVUXeN/mKP7SCaxQuztUONnULQBTEiFIAZdhqJtzPlPLBOQHHIjw0eG5JrDg4qO 8Ceo5DyUfhMQdCMw5Q4FhIM+Q/A1Rvad/oGmNZStde+fTkeennM6WILey2uqDPkUEb4e3/ UteqOTTKa12bt8e/vtkdYNtxcFWMmI3n5JEmCkOTKvownd19SU6zc9jFHwHISUCupTD05A jeqzmJ9DVJB2sD421QpIM+7vOQowom7mI3QmLlX/q1iTKgtaP1LOd2HVqXzd32ig8SyQE/ IoRbz5BtBr4r1my7f5sext+IxbCnnI59ZRPH0oaBENNUGMUNKmqAFNUEpi8MJA== ARC-Authentication-Results: i=1; rspamd-6fd95854bb-zbdzl; auth=pass smtp.auth=dreamhost smtp.mailfrom=peter@polidoro.io X-Sender-Id: dreamhost|x-authsender|peter@polidoro.io X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|peter@polidoro.io X-MailChannels-Auth-Id: dreamhost X-Hook-Thoughtful: 57757b5328406e81_1693317728274_2358803800 X-MC-Loop-Signature: 1693317728274:2878763759 X-MC-Ingress-Time: 1693317728274 Received: from pdx1-sub0-mail-a213.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.98.74.174 (trex/6.9.1); Tue, 29 Aug 2023 14:02:08 +0000 Received: from minotaur.lan (unknown [206.241.0.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: peter@polidoro.io) by pdx1-sub0-mail-a213.dreamhost.com (Postfix) with ESMTPSA id 4RZpyQ4JqJzFS; Tue, 29 Aug 2023 07:02:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1693317726; bh=ktsDwSEFGDIpG6t745yXkH5r7x/y67KCRVd5C4Mffsc=; h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding; b=k7OdzJyYfIo+sR3lkJmBI9PK5v727mfGnN8Mdw9/jOt9wKAfPHXp5JxxXCLroIqcO fNMdG8PoPdmKTHGkud/M9vDTEjrw4RbE+E8cRvwKds9Di8g6aoYTcAWCZwL9bLRl6T CWkr5bDqTCdkwaLXhLPIJgzrfGOwZJmEECqy6xIXKZ7H3CdaFzKHoY2ioIrg2+IAir dC13Grdde4ZA/+bTcWW57zwQ3HUeyr8hWd4YOLZ4ftxfIsUS9f8dx9WM5U5SrKvm3+ WwAY7j2XyacxW1LRE/eB++G84M5owPKUfVPUi0dlzYkYF9PiTsBopAvB5/a98NNlWR XCrRg6QKn2uJQ== From: peter@polidoro.io Date: Tue, 29 Aug 2023 10:01:50 -0400 Message-ID: X-Mailer: git-send-email 2.41.0 In-Reply-To: <0937f3c37f3a629b11391a791e7a220c42ab215c.1693317568.git.peter@polidoro.io> References: <0937f3c37f3a629b11391a791e7a220c42ab215c.1693317568.git.peter@polidoro.io> 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: , 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: Peter Polidoro * gnu/packages/embedded.scm (platformio): New variable. --- gnu/packages/embedded.scm | 58 ++++++++++++++++++++++++++++++++------- 1 file changed, 48 insertions(+), 10 deletions(-) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 325013a627..e547e6cbe6 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -13,6 +13,7 @@ ;;; Copyright © 2022 Mathieu Othacehe ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2023 Janneke Nieuwenhuizen +;;; Copyright © 2023 Peter Polidoro ;;; ;;; This file is part of GNU Guix. ;;; @@ -40,6 +41,7 @@ (define-module (gnu packages embedded) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) #:use-module (guix build-system python) + #:use-module (guix build-system pyproject) #:use-module (guix build-system trivial) #:use-module ((guix build utils) #:select (alist-replace delete-file-recursively)) #:use-module (gnu packages) @@ -1457,6 +1459,42 @@ (define-public west debugging them, and more.") (license license:expat))) +(define-public platformio + (package + (name "platformio") + (version "6.1.10") + (source (origin + (method url-fetch) + (uri (pypi-uri "platformio" version)) + (sha256 + (base32 + "0n7yz19ckyq1x3q7lm3cvj2xsmzx3kvnxkwqzkq9hfkj1yzxash4")))) + (build-system pyproject-build-system) + (arguments + `(#:tests? #f)) ; FIXME: PermissionError: [Errno 13] Permission denied: '/homeless-shelter' + (propagated-inputs (list python-ajsonrpc + python-bottle + python-click + python-colorama + python-marshmallow + python-pyelftools + python-pyserial + python-requests + python-semantic-version + python-starlette + python-tabulate + python-uvicorn + python-wsproto)) + (home-page "https://platformio.org") + (synopsis + "Your Gateway to Embedded Software Development Excellence. Unlock the true potential of embedded software development with PlatformIO's collaborative ecosystem, embracing declarative principles, test-driven methodologies, and modern toolchains for unrivaled success.") + (description + "Your Gateway to Embedded Software Development Excellence. Unlock the true +potential of embedded software development with @code{PlatformIO's} +collaborative ecosystem, embracing declarative principles, test-driven +methodologies, and modern toolchains for unrivaled success.") + (license license:asl2.0))) + (define-public ebusd (package (name "ebusd") @@ -1464,8 +1502,8 @@ (define-public ebusd (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/john30/ebusd") - (commit version))) + (url "https://github.com/john30/ebusd") + (commit version))) (file-name (string-append name "-" version "-checkout")) (sha256 (base32 @@ -1491,14 +1529,14 @@ (define-public ebusd ("autoconf" ,autoconf) ("config" ,(origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/john30/ebusd-configuration") - (commit "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913"))) - (file-name "config-checkout") - (sha256 - (base32 - "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x")))))) + (method git-fetch) + (uri (git-reference + (url "https://github.com/john30/ebusd-configuration") + (commit "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913"))) + (file-name "config-checkout") + (sha256 + (base32 + "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x")))))) (synopsis "Daemon for communicating with eBUS devices") (description "This package provides @command{ebusd}, a daemon for handling communication with eBUS devices connected to a 2-wire bus system