Subject: [bug#58911] [PATCH 2/2] gnu: Add cl-airship-scheme.

From: jgart <[email-masked]>
Date: Sun, 30 Oct 2022 19:08:46 -0500

* gnu/packages/scheme.scm (cl-airship-scheme, ecl-airship-scheme,
sbcl-airship-scheme): New variables.
---
 gnu/packages/scheme.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/scheme.scm b/gnu/packages/scheme.scm
index 110fdad593..79aa65482b 100644
--- a/gnu/packages/scheme.scm
+++ b/gnu/packages/scheme.scm
@@ -44,6 +44,7 @@ (define-module (gnu packages scheme)
   #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix utils)
+  #:use-module (guix build-system asdf)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages autotools)
@@ -53,6 +54,8 @@ (define-module (gnu packages scheme)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libunistring)
+  #:use-module (gnu packages lisp-check)
+  #:use-module (gnu packages lisp-xyz)
   #:use-module (gnu packages m4)
   #:use-module (gnu packages multiprecision)
   #:use-module (gnu packages ncurses)
@@ -947,6 +950,41 @@ (define-public gauche
 and list gauche extension packages.")
     (license bsd-3)))
 
+(define-public sbcl-airship-scheme
+  (let ((commit "1862db81dfa67729444916c361f39f9f1c5a2ccd")
+        (revision "0"))
+    (package
+      (name "sbcl-airship-scheme")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://gitlab.com/mbabich/airship-scheme.git")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32
+           "1d1kvrzlx5kcfsn3rn30ww8jihjflpgcka3n3awj2k4f0sq4mplg"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-fiveam))
+      (inputs
+        (list sbcl-alexandria
+              sbcl-float-features
+              sbcl-trivial-features
+              sbcl-zr-utils))
+      (synopsis "R7RS Scheme implementation in Common Lisp")
+      (description
+"R7RS Scheme implementation designed to run within a Common Lisp environment.")
+      (home-page "https://gitlab.com/mbabich/airship-scheme")
+      (license expat))))
+
+(define-public cl-airship-scheme
+  (sbcl-package->cl-source-package sbcl-airship-scheme))
+
+(define-public ecl-airship-scheme
+  (sbcl-package->ecl-package sbcl-airship-scheme))
+
 (define-public gerbil
   (package
     (name "gerbil")
-- 
2.38.1