From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id wM5/ALaWFmUyGwEA9RJhRA:P1 (envelope-from ) for ; Fri, 29 Sep 2023 11:19:50 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id wM5/ALaWFmUyGwEA9RJhRA (envelope-from ) for ; Fri, 29 Sep 2023 11:19:50 +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 BC99A57803 for ; Fri, 29 Sep 2023 11:19:49 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=Z80H1ZXF; 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"; dmarc=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1695979189; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: 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=cvGHDlsyj+RwjuNpvfOGJLp5v3QnOkVD/245YwXDXOU=; b=JaNcGRc9HEC5PVwikbhynKH+2pPXhT2rKc/NLN6Xe1mP2R18MXgFOFxQISW8zp9RArTeFK XJDnahBqwKGifMMNhjDLQbbgU+hYz6YqHzC6a+UcDHHYCdLmD0co0fw8cagL/YH1nboPjY JJ1N+LBgVRtibkdYBkHynlNTn68r7rSng6Efa4vOZV4pgw/2B5nYJRgNVGZWA9Dxs6I8r6 0z/hm/4oNHU8gte2hRTaVRuaEg7dAC3rMmZDlDkkJ0smb8RVl1GC1EJxNiCqeA2qju5vYj TAj1mu0kT6Q8rXA3oYtibr85CEWmDcqBRabxsDWKagNpObJNiaB50GkQMa6d+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1695979189; a=rsa-sha256; cv=none; b=o5z37WDoLf8tZ/ltBOADFiBF4fcXUio/6rGcyDrBdOcBsUuUG9OAN6lJhJRWlecDERWPxp 2ZC5WYXqa2Grz/4EmQm6gPUKAvEE+BexUv7iYPh25pIKdgHXESBy6DaeB3tGnslLtqaKps 2jwpJUvlXSxgrbRNOEBAqTupyOZo7gb1LHuMhHlJjguNMZcCpmPLT4vIvArd1P+LzvQzLe R1yNIK8ud3Lm0XyTW5vbhuhANTLZAAiy96dKa6StNOijB81+BtB/bTVryjOtZi4dLL/Y1F hKnBd1szDlaLDlFzKTuM+OAvjhMxPYtwtEtpvVDxN5/K4uBrWqoOS2tg9qgoFg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=Z80H1ZXF; 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"; dmarc=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qm9da-0005f7-3H; Fri, 29 Sep 2023 05:18: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 1qm9dC-0005Tk-2G for guix-patches@gnu.org; Fri, 29 Sep 2023 05:17:56 -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 1qm9d8-0003uL-B8 for guix-patches@gnu.org; Fri, 29 Sep 2023 05:17:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qm9dM-0004ld-0P; Fri, 29 Sep 2023 05:18:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH 06/23] gnu: microscheme: Move to avr-xyz. Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com, guix-patches@gnu.org Resent-Date: Fri, 29 Sep 2023 09:18:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66263 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ , efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com X-Debbugs-Original-Xcc: efraim@flashner.co.il, vagrant@debian.org, maxim.cournoyer@gmail.com Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.169597904718100 (code B ref 66263); Fri, 29 Sep 2023 09:18:03 +0000 Received: (at 66263) by debbugs.gnu.org; 29 Sep 2023 09:17:27 +0000 Received: from localhost ([127.0.0.1]:55193 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cl-0004hm-4g for submit@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:27 -0400 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:50367) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qm9cM-0004dw-TV for 66263@debbugs.gnu.org; Fri, 29 Sep 2023 05:17:10 -0400 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-50336768615so23166294e87.0 for <66263@debbugs.gnu.org>; Fri, 29 Sep 2023 02:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1695979001; x=1696583801; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=cvGHDlsyj+RwjuNpvfOGJLp5v3QnOkVD/245YwXDXOU=; b=Z80H1ZXFAdA0sCJjrR0opiPkI3v+tJSnoJdAhEFvSyGS8xEonTwNlHuXg031d0w4Sa UxWRQ7lFJVtcAiadjk23XBYaxBJ2cDyKEJ/EcbEphqJGjse83VE80aNzbDT7M/1wPy+J lfOrKLqD8g5R7s3MInsUIhR604MKwCWXom41MlHApx46OyyQiVKjzDfDEOOwcPL2uZ08 fixraTSOjGvRajQBmOs1y7azBgD5dUiOg2DHqD5y8ciqcWrjkANBpPoiKgCQyMkrYOIz 98hjWXHKVEahqVXoibygbTF4NxXQBibXauz9PRty1A1J8qjRDU1YuCOPfGutwD0VjQ4M qVTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695979001; x=1696583801; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=cvGHDlsyj+RwjuNpvfOGJLp5v3QnOkVD/245YwXDXOU=; b=d+ebSTM/wfaVwVSuJVlBdUeaxnKHPOrmz/OIy3z6umvwHhjhP1lBa/6y1llqDGmH94 Ynkd2yUmTfdBeEmxlRczB7E/4BMWISQtM6LwsqZOMA5goF3wqtwWn0OEeloFfIZNVkmP A2Dm8+9cAI1JOPUSCqT7sjf8S2/YHLuxDOecfQzxIAlZ6TXKKjvYd7Uhx29CZ1xkW3rt M2f/rogfyCF4mOxKBme3DTduZjqQp5M0X5Nm9CsVkhGJqx6Yf3HxfdRY8F1xY/uRoGmy MxBIkl2AEWXKpggUYtAC3LHPtp7HYlKs4LhdemVD0aczLPu2VL52Q7HbCEJSwx5PD1Vw vfaw== X-Gm-Message-State: AOJu0Yz1jcXcHrtHwpeIddlN0h0owOZscmAFXpBgFk1Q4rU9b73XLJoB 1dqoeAR/Zf6pxkZ9HmSkCDbK9lXcNTVR4dY+k+btLw== X-Google-Smtp-Source: AGHT+IEv6c5duH1REQXK80kbIC6dwk6pv0pd4xf2GZtVEIPlF1qO+08Y4IuO5FLHTgW8NsDjMxo6QA== X-Received: by 2002:a05:6512:68f:b0:500:b553:c09e with SMTP id t15-20020a056512068f00b00500b553c09emr3778626lfe.32.1695979001155; Fri, 29 Sep 2023 02:16:41 -0700 (PDT) Received: from omen15.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id k15-20020a7bc40f000000b004013797efb6sm1020933wmi.9.2023.09.29.02.16.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 29 Sep 2023 02:16:40 -0700 (PDT) Date: Fri, 29 Sep 2023 11:16:10 +0200 Message-Id: <20230929091627.7820-6-jean@foundationdevices.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230929091627.7820-1-jean@foundationdevices.com> References: <20230929091627.7820-1-jean@foundationdevices.com> MIME-Version: 1.0 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: , Reply-to: Jean-Pierre De Jesus DIAZ X-ACL-Warn: , Jean-Pierre De Jesus DIAZ via Guix-patches From: Jean-Pierre De Jesus DIAZ via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.74 X-Spam-Score: -4.74 X-Migadu-Queue-Id: BC99A57803 X-TUID: DlOhRoBhZvbm * gnu/packages/avr.scm (microscheme): Remove from file. * gnu/packages/avr-xyz.scm (microscheme): New variable. --- gnu/packages/avr-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++ gnu/packages/avr.scm | 42 +--------------------------------------- 2 files changed, 42 insertions(+), 41 deletions(-) diff --git a/gnu/packages/avr-xyz.scm b/gnu/packages/avr-xyz.scm index a05157ede7..771753b5e4 100644 --- a/gnu/packages/avr-xyz.scm +++ b/gnu/packages/avr-xyz.scm @@ -28,14 +28,55 @@ (define-module (gnu packages avr-xyz) #:use-module (gnu packages autotools) #:use-module (gnu packages base) #:use-module (gnu packages bash) + #:use-module (gnu packages check) + #:use-module (gnu packages compression) #:use-module (gnu packages avr) #:use-module (gnu packages elf) #:use-module (gnu packages gl) + #:use-module (gnu packages llvm) #:use-module (gnu packages pkg-config) #:use-module (gnu packages ncurses) #:use-module (gnu packages version-control) + #:use-module (gnu packages vim) #:use-module (gnu packages ruby)) +(define-public microscheme + (package + (name "microscheme") + (version "0.9.4") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/ryansuchocki/microscheme") + (commit (string-append "v" version)))) + (sha256 + (base32 "1bflwirpcd58bngbs6hgjfwxl894ni2gpdd4pj10pm2mjhyj5dgw")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + `(#:parallel-build? #f ; fails to build otherwise + #:tests? #f ; no tests + #:phases + (modify-phases %standard-phases + (delete 'configure)) + #:make-flags + (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) + (native-inputs + (list clang cppcheck unzip xxd)) + (home-page "https://github.com/ryansuchocki/microscheme/") + (synopsis "Scheme subset for Atmel microcontrollers") + (description + "Microscheme, or @code{(ms)} for short, is a functional programming +language for the Arduino, and for Atmel 8-bit AVR microcontrollers in general. +Microscheme is a subset of Scheme, in the sense that every valid @code{(ms)} +program is also a valid Scheme program (with the exception of Arduino +hardware-specific primitives). The @code{(ms)} compiler performs function +inlining, and features an aggressive tree-shaker, eliminating unused top-level +definitions. Microscheme has a robust @dfn{Foreign Function Interface} (FFI) +meaning that C code may be invoked directly from (ms) programs.") + (license license:expat))) + (define-public simavr (package (name "simavr") diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm index e976203b89..ccce686010 100644 --- a/gnu/packages/avr.scm +++ b/gnu/packages/avr.scm @@ -32,12 +32,9 @@ (define-module (gnu packages avr) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (gnu packages check) - #:use-module (gnu packages compression) #:use-module (gnu packages cross-base) #:use-module (gnu packages flashing-tools) - #:use-module (gnu packages gcc) - #:use-module (gnu packages llvm) - #:use-module (gnu packages vim)) + #:use-module (gnu packages gcc)) (define-public avr-binutils (package @@ -142,40 +139,3 @@ (define-public avr-toolchain C++.") (home-page (package-home-page avr-libc)) (license (package-license avr-gcc)))) - -(define-public microscheme - (package - (name "microscheme") - (version "0.9.4") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/ryansuchocki/microscheme") - (commit (string-append "v" version)))) - (sha256 - (base32 "1bflwirpcd58bngbs6hgjfwxl894ni2gpdd4pj10pm2mjhyj5dgw")) - (file-name (git-file-name name version)))) - (build-system gnu-build-system) - (arguments - `(#:parallel-build? #f ; fails to build otherwise - #:tests? #f ; no tests - #:phases - (modify-phases %standard-phases - (delete 'configure)) - #:make-flags - (list (string-append "PREFIX=" (assoc-ref %outputs "out"))))) - (native-inputs - (list clang cppcheck unzip xxd)) - (home-page "https://github.com/ryansuchocki/microscheme/") - (synopsis "Scheme subset for Atmel microcontrollers") - (description - "Microscheme, or @code{(ms)} for short, is a functional programming -language for the Arduino, and for Atmel 8-bit AVR microcontrollers in general. -Microscheme is a subset of Scheme, in the sense that every valid @code{(ms)} -program is also a valid Scheme program (with the exception of Arduino -hardware-specific primitives). The @code{(ms)} compiler performs function -inlining, and features an aggressive tree-shaker, eliminating unused top-level -definitions. Microscheme has a robust @dfn{Foreign Function Interface} (FFI) -meaning that C code may be invoked directly from (ms) programs.") - (license license:expat))) -- 2.34.1