From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 8HWOH/7QZWXyCQAAauVa8A:P1 (envelope-from ) for ; Tue, 28 Nov 2023 12:37:34 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 8HWOH/7QZWXyCQAAauVa8A (envelope-from ) for ; Tue, 28 Nov 2023 12:37:34 +0100 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 3FE8160505 for ; Tue, 28 Nov 2023 12:37:34 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=FvRbxIci; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1701171454; a=rsa-sha256; cv=none; b=VTDgaQB770EsjUtAiWQoxfrWzNeGzTR1Nt5vNyDyL7umcl/SBJI1HRL3BiROgemZlA1+29 wkIEYyNMk1P/fDqPRNJlX5bstnjsgKcpyOdAgwYkgXfKR9ZlWQiK8lb9gYhBLXLpjswohy jPon8RIRanOU8SessWwf+X8hdLH5N+PLdj4AwrSH3XASPVkFkq0E6Rt9bnpv4XAVIioeQX PWL4Uz6OVGjbDQ/lkidrW+t7HoZz8X9kGyAVVAM25wZAreMkbWbDNOQToQAMIBZW72/3RK aRdPHnW8wAkbw0bSmVM/heBok4ygzvGcLByDKrVdohBDki+XIYU/3x0qiFA9tA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=foundationdevices.com header.s=google header.b=FvRbxIci; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1701171454; 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=kmp3lPodMxKJbW/RSYwTSrSf8C50dLdB7eDQ6nnEb4E=; b=jWADPdM3K7KpfFttif2SoHdOg4CqJaI518G6zgUk2Xbon05TUiyChAkKPEyCPIPKcFlhvg ifIYLqFj/yhzHCnv3AnX59yDa6e64G+GL5P1wb6jAz622L2tzN67sH9bDhQT7pxLpBcVee g0Zs3hcDJ5ZG8KxB1O3CJAQy6dyxp5G8fp4kloeAvb1ELWK27VhmrQYrmHMK2uTT/tBhvD cNx+uT1jNYKVHifr7Ngj7xHrHrXBQu/EQLRackGjyD125cCr+W3TMu4f/bLLA712/rmAFK jWsoMDL40GLPtd5ld3T8bZnn3jWiLDpc1EEjyt6y/sbwSF0g6UcKJvP7LmBjww== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r7wOf-0006tz-7P; Tue, 28 Nov 2023 06:36:57 -0500 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 1r7wOd-0006sM-5R for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:55 -0500 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 1r7wOc-000893-TD for guix-patches@gnu.org; Tue, 28 Nov 2023 06:36:54 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r7wOj-0003NW-Nf for guix-patches@gnu.org; Tue, 28 Nov 2023 06:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#66263] [PATCH v1 05/22] gnu: microscheme: Move to avr-xyz. References: <20230929091333.7623-1-jean@foundationdevices.com> In-Reply-To: <20230929091333.7623-1-jean@foundationdevices.com> Resent-From: Jean-Pierre De Jesus DIAZ Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Tue, 28 Nov 2023 11:37:01 +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: moreinfo patch To: 66263@debbugs.gnu.org Cc: Jean-Pierre De Jesus DIAZ Received: via spool by 66263-submit@debbugs.gnu.org id=B66263.170117137012715 (code B ref 66263); Tue, 28 Nov 2023 11:37:01 +0000 Received: (at 66263) by debbugs.gnu.org; 28 Nov 2023 11:36:10 +0000 Received: from localhost ([127.0.0.1]:45594 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wNo-0003IO-4a for submit@debbugs.gnu.org; Tue, 28 Nov 2023 06:36:10 -0500 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:46168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r7wNj-0003H6-1k for 66263@debbugs.gnu.org; Tue, 28 Nov 2023 06:35:59 -0500 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-40b3e7f2fd9so25397055e9.0 for <66263@debbugs.gnu.org>; Tue, 28 Nov 2023 03:35:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foundationdevices.com; s=google; t=1701171346; x=1701776146; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=kmp3lPodMxKJbW/RSYwTSrSf8C50dLdB7eDQ6nnEb4E=; b=FvRbxIciSLCUUT2pKe+D58O6SDBH51WjcYXUksn8mS4wcjQ0XHzj9iEXt5yYsptnbf T/nSXoY6vDHA2tD7YaVDzRUS27vvzX1FPxAIxjpklVUwNjs4pUdcgnL+nGvJfeXzaboi I2N1Z4hHt+K4wMDe7/QMvKsVmJVJczYEfQGaw2QqKHnnFYCnw8RiCyOk2aizX+vL+mbg 9tYRdNCPlc5LYBSEZCruosgueQKX3qdvlY1e8WG484m1hcVhQtVmN5BH80jhKEyU+F5f g/0vvbCmx4zoTMb7Dfs7ZSuA9vtv5609Gyh6neHrT7AKjGD4cIzNQOdAK8clcFlbVhtT Mf1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701171346; x=1701776146; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=kmp3lPodMxKJbW/RSYwTSrSf8C50dLdB7eDQ6nnEb4E=; b=cxypI1JPAKWVLVjvIWJkFDUJnNLqHqWCVV9AupVWjUhYM5YOMMe0Gvd95E0VG9YGau F+SbNQF/U9QDAoOD+fi2qzgvfOYEx3vszpo+3csEiT8ZeI/MhdCWtQAHOXvHxQipp2oD C6UkdIxABjMfDuRqjuM37Wf0mYdVFA6NvMOcWLGgUnGvDrocju3+nb/irYMe7M44V95A AJv6KaTAtQuoQB13iK0Zwvcf8B5sVkz2d7LsvVHA8840ICBJcGssyTckPYSQuQ0PQ65A jJTBocRGK5zg96nddcmaO09/+qhbHfZzKcf/p/MD2fL12gPYYXpViZ0ZRKyoV0Y70t4O JbDw== X-Gm-Message-State: AOJu0Yw34wWLDC2355CFJ9WafkvoEh3hXYc0wrbVKCn7oN7A9vMDZ8+Y A8tisY9u9ZJICbbMxaTl+CWw70ohaAqUL1RKYgs= X-Google-Smtp-Source: AGHT+IF2RssETxKrELvDTIaDUcpzVdfeazELiglwN2Nqz53/3itqk4Q1ko6w3Yhkk5eKIfQwpLBbDw== X-Received: by 2002:a05:600c:46d3:b0:405:1bbd:aa9c with SMTP id q19-20020a05600c46d300b004051bbdaa9cmr10083426wmo.34.1701171346198; Tue, 28 Nov 2023 03:35:46 -0800 (PST) Received: from jeandudey.home ([89.131.29.87]) by smtp.gmail.com with ESMTPSA id f7-20020a05600c154700b0040b4cb14d40sm1848769wmg.19.2023.11.28.03.35.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 03:35:45 -0800 (PST) Date: Tue, 28 Nov 2023 12:34:48 +0100 Message-ID: <20231128113510.11214-5-jean@foundationdevices.com> X-Mailer: git-send-email 2.41.0 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -6.13 X-Spam-Score: -6.13 X-Migadu-Queue-Id: 3FE8160505 X-TUID: gTjEyT03MOyN * gnu/packages/avr.scm (microscheme): Move to ... * gnu/packages/avr-xyz.scm (microscheme): ... here. Change-Id: I1272bfc98b583ab0ab36fcba5a8e19ae018b0b80 --- gnu/packages/avr-xyz.scm | 41 ++++++++++++++++++++++++++++++++++++++++ gnu/packages/avr.scm | 37 ------------------------------------ 2 files changed, 41 insertions(+), 37 deletions(-) diff --git a/gnu/packages/avr-xyz.scm b/gnu/packages/avr-xyz.scm index e0db2e3a0c..cc34189841 100644 --- a/gnu/packages/avr-xyz.scm +++ b/gnu/packages/avr-xyz.scm @@ -29,13 +29,17 @@ (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 documentation) #:use-module (gnu packages elf) #:use-module (gnu packages gl) #:use-module (gnu packages pkg-config) + #:use-module (gnu packages llvm) #:use-module (gnu packages ncurses) #:use-module (gnu packages version-control) + #:use-module (gnu packages vim) #:use-module (gnu packages ruby)) (define-public simavr @@ -178,3 +182,40 @@ (define-public lufa compatible microcontroller models, as well as the demos and the documentation.") (license license:expat))) ;see LUFA/License.txt + +(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))) diff --git a/gnu/packages/avr.scm b/gnu/packages/avr.scm index a66abbbd3a..111547ef87 100644 --- a/gnu/packages/avr.scm +++ b/gnu/packages/avr.scm @@ -175,40 +175,3 @@ (define* (make-avr-toolchain/implementation #:key (xgcc gcc)) (define make-avr-toolchain (memoize make-avr-toolchain/implementation)) - -(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.41.0