From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id wKibLaINoWKhbQAAbAwnHQ (envelope-from ) for ; Wed, 08 Jun 2022 22:59:14 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qAuhLaINoWIqIAEA9RJhRA (envelope-from ) for ; Wed, 08 Jun 2022 22:59:14 +0200 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 49BB7C3E0 for ; Wed, 8 Jun 2022 22:59:14 +0200 (CEST) Received: from localhost ([::1]:54642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nz2ll-0007rO-Ez for larch@yhetil.org; Wed, 08 Jun 2022 16:59:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nz2jg-0004Hm-1n for guix-patches@gnu.org; Wed, 08 Jun 2022 16:57:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50519) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nz2jf-0003As-Pe for guix-patches@gnu.org; Wed, 08 Jun 2022 16:57:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nz2jf-00018X-P6 for guix-patches@gnu.org; Wed, 08 Jun 2022 16:57:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55831] [PATCH 8/8] gnu: Add platformio. Resent-From: peter@polidoro.io Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 08 Jun 2022 20:57:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55831 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: 55831@debbugs.gnu.org Cc: Peter Polidoro Received: via spool by 55831-submit@debbugs.gnu.org id=B55831.16547217884295 (code B ref 55831); Wed, 08 Jun 2022 20:57:03 +0000 Received: (at 55831) by debbugs.gnu.org; 8 Jun 2022 20:56:28 +0000 Received: from localhost ([127.0.0.1]:44412 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz2j6-00017C-6V for submit@debbugs.gnu.org; Wed, 08 Jun 2022 16:56:28 -0400 Received: from buffalo.birch.relay.mailchannels.net ([23.83.209.24]:24388) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nz2j4-000173-56 for 55831@debbugs.gnu.org; Wed, 08 Jun 2022 16:56:26 -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 E441F6A11EF; Wed, 8 Jun 2022 20:56:24 +0000 (UTC) Received: from pdx1-sub0-mail-a294.dreamhost.com (unknown [127.0.0.6]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 58A796A107D; Wed, 8 Jun 2022 20:55:54 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1654721784; a=rsa-sha256; cv=none; b=LTwQskrsocQ5YW5pHfXd143JX3OmhxYV05GgjsqVmEG/ehv/LCvSxp5SHkFq5+N5vjup/4 kdlHrEw+rfIiEpNs+ZZFn4F2NWqZmMMp/MbSFqcLOuOXOmRMjZDc3jlRLvz5VfGxrqbmYN Ntxpnv4FSddTjeDiCvI3mmL5ES4PAgHf2+nEIJ0FmIusEGPWf1C6o49BiqKId3U3bHFgfY D87RJg9WLgAN8KYXloI0/u7itfEw2FJzJcZCB+mOpkv4o/Rby6DR0MlXNkzSl1TJJjRC0z kBpIIlGvYeD/AMIdmiYFk0kIY27GHYUs9vi4dINK4C5dyn+fnlrHV23w+EElqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1654721784; 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=VWqTsFGhvOr40Z5abIm6qpDzJh82JL/WtBhktINavSk=; b=Pfec7H+TGtmPFwii96AaUwYdkJIO8lllr/MCzC8nJZEvJPYJ5gUFHTaxZyXD6mBL2+TTIX jQXWBPUcCpsmeJMehj4vjE7kU487C9TeFpTkuOXp9yUyTZ+vo+RRFIJvgfQr5/R2fn+bug +2E0ul8uOmCXnbagIcR/lVLjqT3Db+6zYFAXVXKf2Cgj+AoG2f54vQXyJ8EWXR9Y/tme81 f3v71GUQUPF4Y5hSsdeUDMy9Wqhst5DaBP9ed37Q+JZKL/feBJf7K81cqgKYKvirEuGMZk XVDFrlhl321H+2YW+32F7F5GVpf0f6fb6tFtQicARUY3HOpybKshQmtkxzHB2g== ARC-Authentication-Results: i=1; rspamd-848669fb87-7bs69; 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-Zesty-Gusty: 2e4cc77b7fd88093_1654721784808_3328558628 X-MC-Loop-Signature: 1654721784808:675397440 X-MC-Ingress-Time: 1654721784808 Received: from pdx1-sub0-mail-a294.dreamhost.com (pop.dreamhost.com [64.90.62.162]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.115.45.51 (trex/6.7.1); Wed, 08 Jun 2022 20:56:24 +0000 Received: from knave.hhmi.org (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-a294.dreamhost.com (Postfix) with ESMTPSA id 4LJKJ95GZZzPb; Wed, 8 Jun 2022 13:55:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=polidoro.io; s=dreamhost; t=1654721754; bh=VWqTsFGhvOr40Z5abIm6qpDzJh82JL/WtBhktINavSk=; h=From:To:Cc:Subject:Date:Content-Type:Content-Transfer-Encoding; b=XfbihTGb2UV6SIuyqDpZBZv2mtKBIvMVJL8vEN0RTN2vPRQCeIvpaliKXVOb5dbbV 9OO8yO8KvNIPlmDNl1QdCeurFwck26V6I9GfEounDbvOFww6tl3YQ1co+712Ln/GF9 mHk8YcnKRzOeWve0lmkDL0JgqH++H0Q9hr1JpUdKZGjXxADzv6uqPXz09pGqqw5u7J kF/oPZjIyCWTEv4XZveomr8ZRDezLBMphzs/WygvOYCqX90MB5B978TM5h4JeUuzrn +3xXSRWfyYzK/mV+xlrDZRlMfo88uWlzsaKgMZi1hsTADnFElOmE6CnV7pgHx6fmnH BS22xUzJ0AW2w== From: peter@polidoro.io Date: Wed, 8 Jun 2022 16:55:37 -0400 Message-Id: X-Mailer: git-send-email 2.36.1 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1654721954; h=from:from:sender:sender: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:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=VWqTsFGhvOr40Z5abIm6qpDzJh82JL/WtBhktINavSk=; b=UsK1Pwjk/fVR0GaNXmBxRKX9U3n9nwIRNiuNNIXdBrGF7FnM/fNckv8jNTxnhXjcYoL0SM RB5KRR729xfHLIB9ixeGm1/yQ1CFZp6GgYaH9k+QYbLJagUQy9KQT+kVfuEhEyU8Kew63W q2VYdDr6YepqalHatWz3zFUMqJ3D4TgVHGh4JgZL7QOEDVYbgJG/E4brXXO8y+9doxSP8d 8RhpkQPCUVXbGIKZ0ufu6TPq+HVeZO+zDfc8tmFPJX+wAjDgfmdBIZ6UMhZaVKMpbuV2ZK pkzbJ3nExCGk/g6E3ZXT8PGm9Smr/+HzPRVoC4IlYq/0f4nwGYYBq3+gbuJ85g== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1654721954; a=rsa-sha256; cv=fail; b=SptWBhhn+TnqY5GKVerRUjVVijLyWKX7BLJOLANZ5BbArvcVje8IvSGJBqFvLuI5Y2q01C 9+qwJfwtEFPAggItGySajRLq8OAcGYSTBlORwmb2UpIugtHCo95X5xnoHlUpzcIKw9UIwK tmJ3HcC7PVN8/ySkaQuN9SaiHXLMH8so2b55crl4uQG2IlMG6W5qq3Zc7L2WnpziL0RdeE ZkvqSuW8VLx2M1vjUJrmJHRlgSiEhQf/pto6NGpA8nflIRCqnj/YWWyrZ6WYqu/1dWPFee xogja190tNYEct5E97NWP0ZqhOBdcwhHrkg+FXhWqBLII1O2GLt+AIVMbyq31A== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polidoro.io header.s=dreamhost header.b=XfbihTGb; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 2.20 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=polidoro.io header.s=dreamhost header.b=XfbihTGb; arc=reject ("signature check failed: fail, {[1] = sig:mailchannels.net:reject}"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 49BB7C3E0 X-Spam-Score: 2.20 X-Migadu-Scanner: scn0.migadu.com X-TUID: PDV/r5TL7pft From: Peter Polidoro * gnu/packages/embedded.scm (platformio): New variable. --- gnu/packages/embedded.scm | 59 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index 6a66fe4753..5b5192c751 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Morgan Smith ;;; Copyright © 2022 Mathieu Othacehe ;;; Copyright © 2022 Maxim Cournoyer +;;; Copyright © 2022 Peter Polidoro ;;; ;;; This file is part of GNU Guix. ;;; @@ -1556,6 +1557,64 @@ (define-public sdcc license:public-domain license:zlib)))) +(define-public platformio + (package + (name "platformio") + (version "6.0.2") + (source (origin + ;; PyPI does not include tox.ini + (method git-fetch) + (uri (git-reference + (url "https://github.com/platformio/platformio-core") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0scb9z3rpkpdvpx6lcj51vqx1vzkxi2fdfqxk2ir9r9qwgvhbxf9")))) + (build-system python-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + ;; Requirements refer to a specific version of dependencies, + ;; which are too old. So we patch to refer to any later version. + (add-after 'unpack 'patch-requirements + (lambda _ + (substitute* "setup.py" + (("==") ">=")))) + (replace 'check + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "tox" "-e" "py39" "--sitepackages"))))))) + (propagated-inputs (list python-aiofiles + python-ajsonrpc + python-bottle + python-click + python-colorama + python-marshmallow + python-pyelftools + python-pyserial + python-requests + python-semantic-version + python-service-identity + python-starlette + python-tabulate + python-twisted + python-uvicorn + python-wsproto + python-zeroconf)) + (native-inputs (list python-black + python-isort + python-jsondiff + python-tox + python-pylint + python-pytest + python-pytest-xdist)) + (home-page "https://platformio.org") + (synopsis "Platform for embedded development") + (description + "PlatformIO is a cross-platform, cross-architecture, multiple framework, +tool for embedded systems development.") + (license license:asl2.0))) + (define-public python-psptool (package (name "python-psptool") -- 2.36.1