From patchwork Fri Oct 25 05:42:55 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Juliana Sims X-Patchwork-Id: 69435 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 E45A327BBE9; Fri, 25 Oct 2024 06:44:52 +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 870E527BBE2 for ; Fri, 25 Oct 2024 06:44:50 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4D7g-0008Op-Pc; Fri, 25 Oct 2024 01:44:32 -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 1t4D7e-0008Of-UI for guix-patches@gnu.org; Fri, 25 Oct 2024 01:44: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 1t4D7e-0002Gm-Ls for guix-patches@gnu.org; Fri, 25 Oct 2024 01:44:30 -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:Date:From:To:Subject; bh=c0iw0kvFES2ttNzX46lEeAVFQv1VmLybkn/DskEOsOI=; b=eXk0Xhn71svbp2iH0YnUasOMS790qMbyH053hxnVkZo7vbpnydFVWp8Iu/nSLAu4XLhFB/T7SpOvIiD44ZEMfD5jZcGHTBwWui9+GPZbmmpc7+r8BgGUKw/OCfmmFlzQEYA4ZhvGkQjde5G8832I2uGiUo2vhRemkzFhAf3HrlNIR690n3TnC8h38VqEfrCtB5AX6seMARzYsHegM9G0bX1kPQXajYUVV2XpQXFqIstG4EjCzjxaFfz3mOMpy2xKbE7DBuD51CGy2XrBrJtp3Fp4f1eIRzJNMv2whHwbQno9lnEGFrhyx4Wx7UtSVcKMVAveW5G6sCgDRbrSlSfUew==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4D8A-0007nf-0x for guix-patches@gnu.org; Fri, 25 Oct 2024 01:45:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74000] [PATCH] gnu: Add owl. Resent-From: Juliana Sims Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 25 Oct 2024 05:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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.172983509729956 (code B ref -1); Fri, 25 Oct 2024 05:45:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Oct 2024 05:44:57 +0000 Received: from localhost ([127.0.0.1]:36944 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4D84-0007n4-Nl for submit@debbugs.gnu.org; Fri, 25 Oct 2024 01:44:57 -0400 Received: from lists.gnu.org ([209.51.188.17]:44284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4D7z-0007mu-Nv for submit@debbugs.gnu.org; Fri, 25 Oct 2024 01:44:54 -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 1t4D7T-0008Nz-Sl for guix-patches@gnu.org; Fri, 25 Oct 2024 01:44:19 -0400 Received: from out-172.mta0.migadu.com ([91.218.175.172]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t4D7R-0002Fo-Bq for guix-patches@gnu.org; Fri, 25 Oct 2024 01:44:19 -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=1729835050; 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; bh=c0iw0kvFES2ttNzX46lEeAVFQv1VmLybkn/DskEOsOI=; b=vV40hTX5ZtQF6Nlk8yMvTsEDrNB5TmCGz/DVILVtto2eNYGZePOQEoaOTxIYiq5LV+kACZ iTpLa1uUs06bXo+LbUZz1sR/FuteEDhb7LuMrWIu/k4/tU+Ov7eMsuCupdaLVkS9qN4oaC LLIxiu+OLbONvSdxX5J+utD3vdCplUwgGwb4NmNqNHXGS1cRHFRSCe4IcgyabVo7HkXCGN heVXx2TGl9bwm9wu66YpMPVO0ZiE9R+pqb0cEjKuWW/uukQOXPWP8tedewAvJB3z1gpdCC ApclQGuiFnKlpGAIt+q6d4ZqADZwSFB499tQZreWuVZ9WW7OQ0wsdWwnUBvJNw== Date: Fri, 25 Oct 2024 01:42:55 -0400 Message-ID: <0211cc89227642600e9cdfbcc4098d9d4f84eee5.1729834975.git.juli@incana.org> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.172; envelope-from=juli@incana.org; helo=out-172.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_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: Ibb242bbcdedb92419b59e05635e8a32e85afc24e --- Hello, This patch adds a package for Owl Lisp. Thanks, Juli gnu/packages/scheme.scm | 44 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 41 insertions(+), 3 deletions(-) base-commit: 2394a7f5fbf60dd6adc0a870366adb57166b6d8b diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 0d6a662aaa..bbd7ee7bfa 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") @@ -1294,8 +1332,8 @@ (define-public stklos ,@%default-gnu-modules) #:configure-flags #~(list (string-append "LDFLAGS=-L" - #$(this-package-input "readline") - "/lib -lreadline")) + #$(this-package-input "readline") + "/lib -lreadline")) #:phases #~(modify-phases %standard-phases (add-before 'configure 'patch-sh-references