From unknown Sat Aug 16 13:45:50 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#51269] [PATCH] gnu: Add stcgal. Resent-From: Simon South Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 18 Oct 2021 17:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51269 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51269@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163457745819011 (code B ref -1); Mon, 18 Oct 2021 17:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 18 Oct 2021 17:17:38 +0000 Received: from localhost ([127.0.0.1]:48446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcWGT-0004wS-FF for submit@debbugs.gnu.org; Mon, 18 Oct 2021 13:17:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:36854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcWGQ-0004wH-Ee for submit@debbugs.gnu.org; Mon, 18 Oct 2021 13:17:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcWGQ-00048M-8k for guix-patches@gnu.org; Mon, 18 Oct 2021 13:17:30 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:35374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcWGN-0005WH-HY for guix-patches@gnu.org; Mon, 18 Oct 2021 13:17:29 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 6881761AD6 for ; Mon, 18 Oct 2021 17:17:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo03-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cQqjN5uay1I6 for ; Mon, 18 Oct 2021 17:17:23 +0000 (UTC) Received: from localhost.localdomain (unknown [108.162.141.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id E1C6761A84 for ; Mon, 18 Oct 2021 17:17:23 +0000 (UTC) From: Simon South Date: Mon, 18 Oct 2021 13:16:54 -0400 Message-Id: <20211018171654.3310-1-simon@simonsouth.net> X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/embedded.scm (stcgal): New variable. --- Tested on AArch64 and x86-64 with an STC89C52RC demo board and everything appears to work fine. Note I have (retroactively) added a copyright line for myself to reflect the changes I've made to this file in the past year. gnu/packages/embedded.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index f388c11c3d..4315cc0618 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2021 Julien Lepiller +;;; Copyright © 2020, 2021 Simon South ;;; Copyright © 2021 Morgan Smith ;;; ;;; This file is part of GNU Guix. @@ -1350,6 +1351,38 @@ (define-public fc-host-tools (home-page "https://www.freecalypso.org/") (license license:public-domain))) +(define-public stcgal + (package + (name "stcgal") + (version "1.6") + (source (origin + ;; Neither the unit tests nor the "doc" subdirectory referred to + ;; by stcgal's setup.py is present in the source distribution on + ;; PyPI, so we fetch directly from the project's git repository + ;; instead. + (method git-fetch) + (uri (git-reference + (url "https://github.com/grigorig/stcgal") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d10qxyghz66zp7iqpm8q8rfv9jz9n609gxmfcav1lssmf1dlyk3")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyserial" ,python-pyserial) + ("python-pyusb" ,python-pyusb) + ("python-tqdm" ,python-tqdm))) + (native-inputs + ;; For tests. + `(("python-pyyaml" ,python-pyyaml))) + (home-page "https://github.com/grigorig/stcgal") + (synopsis "Programmer for STC 8051-compatible microcontrollers") + (description "stcgal is a command-line flash-programming tool for STC +MCU's line of Intel 8051-compatible microcontrollers, including those in the +STC89, STC90, STC10, STC11, STC12, STC15 and STC8 series.") + (license license:expat))) + (define-public stlink (package (name "stlink") base-commit: 878744c5e3be6165633ead99c0efdca88abfcaea -- 2.33.0 From unknown Sat Aug 16 13:45:50 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Simon South Subject: bug#51269: closed (Re: bug#51269: [PATCH] gnu: Add stcgal.) Message-ID: References: <87r1b7l1nc.fsf@gnu.org> <20211018171654.3310-1-simon@simonsouth.net> X-Gnu-PR-Message: they-closed 51269 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 51269@debbugs.gnu.org Date: Tue, 23 Nov 2021 08:26:01 +0000 Content-Type: multipart/mixed; boundary="----------=_1637655961-22756-1" This is a multi-part message in MIME format... ------------=_1637655961-22756-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #51269: [PATCH] gnu: Add stcgal. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 51269@debbugs.gnu.org. --=20 51269: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D51269 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1637655961-22756-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 51269-done) by debbugs.gnu.org; 23 Nov 2021 08:25:22 +0000 Received: from localhost ([127.0.0.1]:49900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpR7B-0005uB-UL for submit@debbugs.gnu.org; Tue, 23 Nov 2021 03:25:22 -0500 Received: from eggs.gnu.org ([209.51.188.92]:59010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpR79-0005tv-T6 for 51269-done@debbugs.gnu.org; Tue, 23 Nov 2021 03:25:20 -0500 Received: from [2001:470:142:3::e] (port=37872 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpR73-0000A2-R1; Tue, 23 Nov 2021 03:25:14 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=NJ8vbaQ5aSY0OJw54G/I9S/owLTTv4DKEsAww0kboPw=; b=OKv+woKZVBPDSG9NMhBy nFJcyPV7/Va3fFurdo+VD2fUe0uUNFzVCv78z8uzK+yC2DUw+hC3K0IWRhwXpNybJw966YSScQ6fd SgAaKjYGifH8VMnw9Jymf0LOATelUw2FlZJNJTLQNxH7awKlWpdq+A53AYVgHuVIiNSsOoOw7Zm9z kWsSzm6AujbtWi4nqKfWqWs2g6F2i1LirinKXBJlvAOgYBkTuaCrxS4IsGq6Fd7vPtamjx6kKdAvg xDCJHIu9j24dehCu8BNQVt4FSLUn0HnxYmwS0GmCWtiiqCp+NKHDLtuNlqr5Ke5J8vFluD5poW1KV L4//RWB5bm1CwQ==; Received: from 91-160-117-201.subs.proxad.net ([91.160.117.201]:53780 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpR73-00029j-GI; Tue, 23 Nov 2021 03:25:13 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon South Subject: Re: bug#51269: [PATCH] gnu: Add stcgal. References: <20211018171654.3310-1-simon@simonsouth.net> Date: Tue, 23 Nov 2021 09:25:11 +0100 In-Reply-To: <20211018171654.3310-1-simon@simonsouth.net> (Simon South's message of "Mon, 18 Oct 2021 13:16:54 -0400") Message-ID: <87r1b7l1nc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 51269-done Cc: 51269-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Simon South skribis: > * gnu/packages/embedded.scm (stcgal): New variable. Applied, thanks! Ludo=E2=80=99. ------------=_1637655961-22756-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Oct 2021 17:17:38 +0000 Received: from localhost ([127.0.0.1]:48446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcWGT-0004wS-FF for submit@debbugs.gnu.org; Mon, 18 Oct 2021 13:17:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:36854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcWGQ-0004wH-Ee for submit@debbugs.gnu.org; Mon, 18 Oct 2021 13:17:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcWGQ-00048M-8k for guix-patches@gnu.org; Mon, 18 Oct 2021 13:17:30 -0400 Received: from mailout.easymail.ca ([64.68.200.34]:35374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcWGN-0005WH-HY for guix-patches@gnu.org; Mon, 18 Oct 2021 13:17:29 -0400 Received: from localhost (localhost [127.0.0.1]) by mailout.easymail.ca (Postfix) with ESMTP id 6881761AD6 for ; Mon, 18 Oct 2021 17:17:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at emo03-pco.easydns.vpn Received: from mailout.easymail.ca ([127.0.0.1]) by localhost (emo03-pco.easydns.vpn [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cQqjN5uay1I6 for ; Mon, 18 Oct 2021 17:17:23 +0000 (UTC) Received: from localhost.localdomain (unknown [108.162.141.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mailout.easymail.ca (Postfix) with ESMTPSA id E1C6761A84 for ; Mon, 18 Oct 2021 17:17:23 +0000 (UTC) From: Simon South To: guix-patches@gnu.org Subject: [PATCH] gnu: Add stcgal. Date: Mon, 18 Oct 2021 13:16:54 -0400 Message-Id: <20211018171654.3310-1-simon@simonsouth.net> X-Mailer: git-send-email 2.25.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=64.68.200.34; envelope-from=simon@simonsouth.net; helo=mailout.easymail.ca X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/embedded.scm (stcgal): New variable. --- Tested on AArch64 and x86-64 with an STC89C52RC demo board and everything appears to work fine. Note I have (retroactively) added a copyright line for myself to reflect the changes I've made to this file in the past year. gnu/packages/embedded.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm index f388c11c3d..4315cc0618 100644 --- a/gnu/packages/embedded.scm +++ b/gnu/packages/embedded.scm @@ -8,6 +8,7 @@ ;;; Copyright © 2020 Marius Bakke ;;; Copyright © 2020 Björn Höfling ;;; Copyright © 2021 Julien Lepiller +;;; Copyright © 2020, 2021 Simon South ;;; Copyright © 2021 Morgan Smith ;;; ;;; This file is part of GNU Guix. @@ -1350,6 +1351,38 @@ (define-public fc-host-tools (home-page "https://www.freecalypso.org/") (license license:public-domain))) +(define-public stcgal + (package + (name "stcgal") + (version "1.6") + (source (origin + ;; Neither the unit tests nor the "doc" subdirectory referred to + ;; by stcgal's setup.py is present in the source distribution on + ;; PyPI, so we fetch directly from the project's git repository + ;; instead. + (method git-fetch) + (uri (git-reference + (url "https://github.com/grigorig/stcgal") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1d10qxyghz66zp7iqpm8q8rfv9jz9n609gxmfcav1lssmf1dlyk3")))) + (build-system python-build-system) + (propagated-inputs + `(("python-pyserial" ,python-pyserial) + ("python-pyusb" ,python-pyusb) + ("python-tqdm" ,python-tqdm))) + (native-inputs + ;; For tests. + `(("python-pyyaml" ,python-pyyaml))) + (home-page "https://github.com/grigorig/stcgal") + (synopsis "Programmer for STC 8051-compatible microcontrollers") + (description "stcgal is a command-line flash-programming tool for STC +MCU's line of Intel 8051-compatible microcontrollers, including those in the +STC89, STC90, STC10, STC11, STC12, STC15 and STC8 series.") + (license license:expat))) + (define-public stlink (package (name "stlink") base-commit: 878744c5e3be6165633ead99c0efdca88abfcaea -- 2.33.0 ------------=_1637655961-22756-1--