From patchwork Sat Oct 26 17:54:41 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Juliana Sims X-Patchwork-Id: 69473 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 8B97D27BBEA; Sat, 26 Oct 2024 18:58:39 +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=ham 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 3281427BBE2 for ; Sat, 26 Oct 2024 18:58:38 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4l3Z-0007E3-KM; Sat, 26 Oct 2024 13:58: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 1t4l3V-00078j-5p for guix-patches@gnu.org; Sat, 26 Oct 2024 13:58:29 -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 1t4l3U-0004Js-TT for guix-patches@gnu.org; Sat, 26 Oct 2024 13:58:28 -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=Izk6D99mDAi/dWKzwlaLIkdzerFG6S9U18g20CmSEcQ=; b=H5FEK7MjEASJihtp9gBMyvHDdS3VCQlp7f3DCvqQDTbYdzaC9jOX1ZTJN/C+EtUhd6scWMxVA+QqAMAi4o9As25bnBn0DDPzh4O3UJQgJqSwja6WQ8lD8+nr/udAc2hocb5AG6Yv8wgYz4pzXse/bbtfAfMjMy7HHKojye78QghdWwUVIPi+vhwf6lUa+w1RmAtO3MOzKW81rUVumd8qbnwAu5hW+EDwcSxO5kSsY5kpbhXatVCM/XwDUx7vXXbl0VqSjus3IQLCtKaqwLwRhc3OjHt4DTn38RlU3yi+vSxms+Yye9ZIbxrBkruqMbRtX6mSDDGdy87reKYSKXJ3Lg==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t4l41-0001sz-Ty for guix-patches@gnu.org; Sat, 26 Oct 2024 13:59:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#74000] [PATCH v3] gnu: Add owl. Resent-From: Juliana Sims Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Oct 2024 17:59:01 +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: zhengjunjie@iscas.ac.cn Cc: 74000@debbugs.gnu.org, Juliana Sims Received: via spool by 74000-submit@debbugs.gnu.org id=B74000.17299655207213 (code B ref 74000); Sat, 26 Oct 2024 17:59:01 +0000 Received: (at 74000) by debbugs.gnu.org; 26 Oct 2024 17:58:40 +0000 Received: from localhost ([127.0.0.1]:42528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4l3f-0001sH-DA for submit@debbugs.gnu.org; Sat, 26 Oct 2024 13:58:39 -0400 Received: from out-172.mta1.migadu.com ([95.215.58.172]:51253) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t4l3b-0001ry-Rs for 74000@debbugs.gnu.org; Sat, 26 Oct 2024 13:58:37 -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=1729965445; 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=Izk6D99mDAi/dWKzwlaLIkdzerFG6S9U18g20CmSEcQ=; b=jVXcNnI/Zr7nXixJxaOBYRjEBaNa0s+MTgtpcf0FiDhHeq0ni2hFMVhrX2m5OKxJDpFOgu 3lrhmnfDqxpXiapAB+jc8rbFndDZrQH0KUSaqBHx7IqTkZXEPAX0ZkAU2/+B5Fla1eUtSu Hw4HX0cJgCROZi+AcagMlPWLL9tGl+NAAQeKkb+GTM7YOiiyni914/F5oCiRhOpfg9d0o0 1xnlG5xlzjJ5W2Qnzl+OKxf8+omeX4axePR4ziSxtStHQG0B37lG3DTWdOaE3KBVpqaOjx L5+lUhxw0Ax4L45M/r2iB4nBoR92TQb5O2Cpbkf+gEtxegP/GqLLirYTID4Abg== Date: Sat, 26 Oct 2024 13:54:41 -0400 Message-ID: In-Reply-To: <875xpflzal.fsf@iscas.ac.cn> References: <875xpflzal.fsf@iscas.ac.cn> MIME-Version: 1.0 X-Migadu-Flow: FLOW_OUT 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 --- Hi, Thanks for the quick review! When I finished packaging this on a whim at 01:30, I thought to myself, "Gee, that was fast! ...did I forget something?" And indeed I did; I forgot to run guix lint, cross-compile, build for different architectures, ensure reproducibility, and argue with guix style. So, here we have a proper version of the patch! (I disagreed with some of guix style's opinions.) Thanks again! -Juli gnu/packages/scheme.scm | 40 +++++++++++++++++++++++++++++++++++++++- 1 file changed, 39 insertions(+), 1 deletion(-) base-commit: df666602c7936f7d87354374b148ef6269844c01 diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm index 0d6a662aaa..29142f474b 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)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jlmpw14rg63m1q7pjmhjicaqbqgc6gnp53bph0giwg8ha8wxyqr")))) + (build-system gnu-build-system) + (arguments + (list + #:make-flags #~(list (string-append "CC=" #$(cc-for-target)) + (string-append "PREFIX=" #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure) ;No configure script + (add-after 'patch-source-shebangs 'patch-ol-shebangs + (lambda _ + (substitute* (list "bin/feather" + "tests/hashbang.scm" + "tests/theorem-rand.scm") + (("/usr") #$output))))) + #:test-target "test")) + (native-inputs (list which)) + (home-page "https://haltp.org/posts/owl.html") + (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, immutable lists, and suppport for asynchronous evaluation.") + (license expat))) + (define-public stklos (package (name "stklos")