From patchwork Fri Oct 25 05:48:14 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Juliana Sims X-Patchwork-Id: 69436 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 C993A27BBE9; Fri, 25 Oct 2024 06:50:49 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 4A13E27BBE2 for ; Fri, 25 Oct 2024 06:50:48 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4DDV-0000UY-M4; Fri, 25 Oct 2024 01:50:33 -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 1t4DDT-0000Ty-Ua for guix-patches@gnu.org; Fri, 25 Oct 2024 01:50:31 -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 1t4DDT-0002rS-DS for guix-patches@gnu.org; Fri, 25 Oct 2024 01:50:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=H5up++a+XQOX+9/dRI6kcQQrk997N3aFOusB/ly9jt0=; b=iwyN9JgB77AlnCgD69P9BNtiN6ajeaFM3YN0Xij04qv3+cXnvBfaOcUunvf2wgJ4T7ymbpqEQ8mGtYu8MPeUzyoO/4grDvjOxo9NxC8bCJV/A3R1jg+dWiHERJB5lmRJH/AN46wrAbnEknfk7pnyCREazjIuYopnCQJsrpqL1lYCWPPVurK/qVpbASje9dx4z2FQxoVNFEU5M9qfhf4XcitGOxX9gVLfN/q0Dz2RYQqqdlcTD6PokiG38LGhMGu4DLSF0tvDzMAkQdmG4oKJXkxvgOKUZz3yI8oOou/s8Gr6a5mrijyQpQiebmglU1ET6QUdRAnKr9/pCOnvSocY9A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4DDy-00088l-II for guix-patches@gnu.org; Fri, 25 Oct 2024 01:51:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74000] [PATCH v2] gnu: Add owl. Resent-From: Juliana Sims Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Oct 2024 05:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74000 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 74000@debbugs.gnu.org Cc: Juliana Sims X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172983540330852 (code B ref -1); Fri, 25 Oct 2024 05:51:02 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2024 05:50:03 +0000 Received: from localhost ([127.0.0.1]:36953 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4DCz-00081N-O5 for submit@debbugs.gnu.org; Fri, 25 Oct 2024 01:50:02 -0400 Received: from lists.gnu.org ([209.51.188.17]:42010) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4DCx-000810-8R for submit@debbugs.gnu.org; Fri, 25 Oct 2024 01:50:00 -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 1t4DCQ-0000LS-Qi for guix-patches@gnu.org; Fri, 25 Oct 2024 01:49:27 -0400 Received: from out-178.mta1.migadu.com ([95.215.58.178]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4DCO-0002dH-Bm for guix-patches@gnu.org; Fri, 25 Oct 2024 01:49:26 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=incana.org; s=key1; t=1729835359; 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; bh=H5up++a+XQOX+9/dRI6kcQQrk997N3aFOusB/ly9jt0=; b=vWoXONaCbNBz5Qk32gwxa3ULkbHhpKH/6SH7LGGz1KQb45xY0gDglSsxwW505N03fJOjUn JI83UlGk/Z9JM0qsZthYFQDVqyeR/kKm0FgluU1G85BpVklHBhN+UFXRr3a10ykj1OIsRg N7xaUxMXlHIYqF73ngJWHreBHex1g4inKLk4Fu/O8qsEdC4JOxmFbudZLRtMivgknyTk6t R5vUdUyLTsdwSJrEA6AikWNRTmzn02BopYTbr8cvzelH8Wg8MvzCIGyNXHBZiCbNO6fT/q zIfHnLLUtmBkZCkUEawNTZKqbDOgufdHKdEdz8vMVKnQLu7QVIbp4oRQ4w+m9Q== Date: Fri, 25 Oct 2024 01:48:14 -0400 Message-ID: <63a80a5b13302fb6cf77802eccffc484512773ea.1729835294.git.juli@incana.org> In-Reply-To: <0211cc89227642600e9cdfbcc4098d9d4f84eee5.1729834975.git.juli@incana.org> References: <0211cc89227642600e9cdfbcc4098d9d4f84eee5.1729834975.git.juli@incana.org> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=95.215.58.178; envelope-from=juli@incana.org; helo=out-178.mta1.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: Juliana Sims X-ACL-Warn: , Juliana Sims via Guix-patches X-Patchwork-Original-From: Juliana Sims via Guix-patches via From: Juliana Sims 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 * gnu/packages/scheme.scm (owl): New symbol. Change-Id: I3dbbe1143f4928c3ecfc42c6a7a6be8a6b524629 --- Woops, Emacs decided to reindent unrelated code! This version is clean of such errors :) -Juli gnu/packages/scheme.scm | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 0d6a662aaa..637893e0f1 100644 --- a/gnu/packages/scheme.scm +++ b/gnu/packages/scheme.scm @@ -21,7 +21,7 @@ ;;; Copyright © 2022 jgart ;;; Copyright © 2022 Robby Zambito ;;; Copyright © 2023 Andrew Whatson -;;; Copyright © 2023 Juliana Sims +;;; Copyright © 2023, 2024 Juliana Sims ;;; Copyright © 2023 Maxim Cournoyer ;;; Copyright © 2024 Skylar Hill ;;; Copyright © 2024 Artyom V. Poptsov @@ -71,6 +71,7 @@ (define-module (gnu packages scheme) #:use-module (gnu packages gl) #:use-module (gnu packages glib) #:use-module (gnu packages gtk) + #:use-module (gnu packages haskell-xyz) #:use-module (gnu packages image) #:use-module (gnu packages libedit) #:use-module (gnu packages libevent) @@ -1273,6 +1274,43 @@ (define-public emacs-gerbil-mode "Gerbil mode provides font-lock, indentation, navigation, and REPL for Gerbil code within Emacs."))) +(define-public owl + (package + (name "owl") + (version "0.2.2") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gitlab.com/owl-lisp/owl.git") + (commit (string-append "v" version)))) + (sha256 + (base32 "0jlmpw14rg63m1q7pjmhjicaqbqgc6gnp53bph0giwg8ha8wxyqr")) + (file-name (git-file-name name version)))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags #~`(,(string-append "PREFIX=" #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) + (add-after 'patch-source-shebangs 'patch-ol-shebangs + (lambda _ + (map (lambda (f) + (substitute* f + (("/usr") #$output))) + (list "bin/feather" + "tests/hashbang.scm" + "tests/theorem-rand.scm"))))) + #:test-target "test")) + (native-inputs (list pandoc which)) + (home-page "https://haltp.org/owl") + (synopsis "Functional Scheme dialect") + (description + "Owl Lisp is a simple programming language. It is intended to provide a +portable system for writing standalone programs in a subjectively pleasant +dialect of Lisp. It has a minimal core and runtime, purely functional +operation, and suppport for asynchronous evaluation.") + (license expat))) + (define-public stklos (package (name "stklos")