From patchwork Thu Aug 5 14:10:22 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Xinglu Chen X-Patchwork-Id: 31842 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 A41D327BC78; Thu, 5 Aug 2021 15:14:51 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 6AA1227BC6B for ; Thu, 5 Aug 2021 15:14:51 +0100 (BST) Received: from localhost ([::1]:48250 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBe94-0005Th-Fv for patchwork@mira.cbaines.net; Thu, 05 Aug 2021 10:14:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe5P-0004jf-Ap for guix-patches@gnu.org; Thu, 05 Aug 2021 10:11:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36453) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mBe5P-0000tC-35 for guix-patches@gnu.org; Thu, 05 Aug 2021 10:11:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mBe5O-00077T-Hv for guix-patches@gnu.org; Thu, 05 Aug 2021 10:11:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49889] [PATCH 5/5] gnu: Add gerbil-clojerbil. Resent-From: Xinglu Chen Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 05 Aug 2021 14:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49889 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49889@debbugs.gnu.org Received: via spool by 49889-submit@debbugs.gnu.org id=B49889.162817263327318 (code B ref 49889); Thu, 05 Aug 2021 14:11:02 +0000 Received: (at 49889) by debbugs.gnu.org; 5 Aug 2021 14:10:33 +0000 Received: from localhost ([127.0.0.1]:47997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4u-00076Y-Pf for submit@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:33 -0400 Received: from h87-96-130-155.cust.a3fiber.se ([87.96.130.155]:32892 helo=mail.yoctocell.xyz) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mBe4s-000768-G6 for 49889@debbugs.gnu.org; Thu, 05 Aug 2021 10:10:30 -0400 From: Xinglu Chen DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yoctocell.xyz; s=mail; t=1628172623; bh=3EyrC9j5xwcwkwLX8ReobrIZ0X2q7mPao/gokNShK4s=; h=From:To:Subject:In-Reply-To:References:Date; b=VslE906sgP3aexy7lfLr3ITG4fMLu+vdBzQbLbyGdVwxgPStcZihewVawnzssZhFA mWWrxXhkT3uw26ojaSlX2IpR+zlfURzCD0bWySZ1wqXpctBPLjx5kidujk+f8gi1Rn bnDIlnGUIcFzp3JhAR2Mi472CsQRyU4yCAdkyqHs= In-Reply-To: References: Message-Id: <771dac2950d0b1b092a34a3332ab2162c39c0e1e.1628172101.git.public@yoctocell.xyz> Date: Thu, 05 Aug 2021 16:10:22 +0200 MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/gerbil.scm (gerbil-clojerbil): New variable. --- gnu/packages/gerbil.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/gerbil.scm b/gnu/packages/gerbil.scm index aee5da60cd..d254b39eff 100644 --- a/gnu/packages/gerbil.scm +++ b/gnu/packages/gerbil.scm @@ -164,3 +164,36 @@ The implementation is exactly the same as the @uref{https://srfi.schemers.org/srfi-54/srfi-54.html, official reference documentation}.") (license license:lgpl3+)))) + +(define-public gerbil-clojerbil + ;; No releases; commit from 2021-05-24 + (let ((commit "542f0d2cf0afb1d99ded76dee1f646e4d10efeb2") + (revision "0")) + (package + (name "gerbil-clojerbil") + (version (git-version "0.0.0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/eraserhd/clojerbil") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1jipcmqhg9l2zi7bnbki5wky89i5xpd1ixnmyw2lm660i3p0gib4")))) + (build-system gerbil-build-system) + (arguments + `(#:phases + (modify-phases %standard-phases + (add-after 'build 'check + (lambda* (#:key inputs #:allow-other-keys) + (let ((gerbil (assoc-ref inputs "gerbil"))) + (invoke (string-append gerbil "/bin/gxi") "run-tests.ss"))))))) + (home-page "https://github.com/eraserhd/clojerbil") + (synopsis "Thin implementation of Clojure on top of Gerbil Scheme") + (description + "Clojerbil is a deliberately thin implementation of Clojure on top of +Gerbil Scheme. Its intent is to add Clojure-type niceties on top of Gerbil and +allow simple Clojure code to work without making a complicated compatibility +layer.") + (license license:unlicense))))