unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jacob MacDonald <jaccarmac@gmail.com>
To: 52387@debbugs.gnu.org
Subject: [bug#52387] [PATCH 5/5] gnu: Add cl-april.
Date: Mon, 13 Dec 2021 12:42:17 -0600	[thread overview]
Message-ID: <CACy6W0AW7qLJLLZ+mz_OstZwUiG4dQ794gDPz3_m2z77c0aGvg@mail.gmail.com> (raw)
In-Reply-To: <CACy6W0BScWvmG+9ThPBTVwribdbp+wWJzxnBr7i1bYbFECyBjQ@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1 bytes --]



[-- Attachment #2: 0005-gnu-Add-cl-april.patch --]
[-- Type: text/x-patch, Size: 2826 bytes --]

From 21b5a3c79bb29a65f65c28175b5d0e920b2f4ad6 Mon Sep 17 00:00:00 2001
From: Jacob MacDonald <jaccarmac@gmail.com>
Date: Wed, 8 Dec 2021 21:30:22 -0600
Subject: [PATCH 5/5] gnu: Add cl-april.

* gnu/packages/lisp-xyz.scm (sbcl-april, cl-april, ecl-april): New variables.
---
 gnu/packages/lisp-xyz.scm | 52 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 24aae8003c..84eeb05460 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20389,3 +20389,55 @@ (define-public cl-simple-date-time
 
 (define-public ecl-simple-date-time
   (sbcl-package->ecl-package sbcl-simple-date-time))
+
+(define-public sbcl-april
+  (let ((commit "963e2d8e5575a7d430c1fba7adedd15cb23c4ce8")
+        (revision "1"))
+    (package
+      (name "sbcl-april")
+      (version (git-version "0.9.3" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/phantomics/april")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0v27fpss1ayca2r47k0zpqa9a423a86pv8s2mlgc3g5s48lgcmj3"))
+         (modules '((guix build utils)))
+         (snippet '(begin
+                     ;; Remove Apache-relicensed MaxPC.
+                     (delete-file-recursively "maxpc-apache")
+                     ;; Ensure references are to upstream MaxPC.
+                     (substitute* "vex/vex.asd"
+                       (("maxpc-apache") "maxpc"))
+                     #true))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)
+         ("array-operations" ,sbcl-array-operations)
+         ("maxpc-apache" ,sbcl-maxpc)
+         ("cl-ppcre" ,sbcl-cl-ppcre)
+         ("symbol-munger" ,sbcl-symbol-munger)
+         ("prove" ,sbcl-prove)
+         ("parse-number" ,sbcl-parse-number)
+         ("lparallel" ,sbcl-lparallel)
+         ("random-state" ,sbcl-random-state)
+         ("decimals" ,sbcl-decimals)
+         ("simple-date-time" ,sbcl-simple-date-time)
+         ("trivia" ,sbcl-trivia)))
+      (home-page "https://github.com/phantomics/april")
+      (synopsis "Array Programming Re-Imagined in Lisp")
+      (description "April compiles a subset of the APL programming language into
+Common Lisp.  Leveraging Lisp's powerful macros and numeric processing
+faculties, it brings APL's expressive potential to bear for Lisp developers.
+Replace hundreds of lines of number-crunching code with a single line of
+APL.")
+      (license license:asl2.0))))
+
+(define-public cl-april
+  (sbcl-package->cl-source-package sbcl-april))
+
+(define-public ecl-april
+  (sbcl-package->ecl-package sbcl-april))
-- 
2.34.0


  parent reply	other threads:[~2021-12-13 18:43 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-09  6:44 [bug#52387] [PATCH] Add cl-april Jacob MacDonald
2021-12-09  6:47 ` [bug#52387] [PATCH 1/7] gnu: Add cl-vex Jacob MacDonald
2021-12-09  6:48 ` [bug#52387] [PATCH 2/7] gnu: Add cl-maxpc Jacob MacDonald
2021-12-09  6:48 ` [bug#52387] [PATCH 3/7] gnu: Add cl-vex-templates Jacob MacDonald
2021-12-09  6:48 ` [bug#52387] [PATCH 4/7] gnu: Add cl-aplesque Jacob MacDonald
2021-12-09  6:48 ` [bug#52387] [PATCH 5/7] gnu: Add cl-decimals Jacob MacDonald
2021-12-09  6:49 ` [bug#52387] [PATCH 6/7] gnu: Add cl-simple-date-time Jacob MacDonald
2021-12-09  6:49 ` [bug#52387] [PATCH 7/7] gnu: Add cl-april Jacob MacDonald
2021-12-11 12:38 ` [bug#52387] [PATCH] " Guillaume Le Vaillant
2021-12-13 18:40   ` Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 1/5] gnu: Add cl-maxpc Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 2/5] gnu: Add cl-random-state Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 3/5] gnu: Add cl-decimals Jacob MacDonald
2021-12-13 18:41 ` [bug#52387] [PATCH 4/5] gnu: Add cl-simple-date-time Jacob MacDonald
2021-12-13 18:44   ` Jacob MacDonald
2021-12-13 18:42 ` Jacob MacDonald [this message]
2021-12-16 10:24   ` bug#52387: [PATCH 5/5] gnu: Add cl-april Guillaume Le Vaillant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CACy6W0AW7qLJLLZ+mz_OstZwUiG4dQ794gDPz3_m2z77c0aGvg@mail.gmail.com \
    --to=jaccarmac@gmail.com \
    --cc=52387@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).