Subject: [PATCH v2 01/12] gnu: Add cl-interface

From: Michal Atlas <[email-masked]>
Date: Fri, 24 Nov 2023 17:05:17 +0000

* gnu/packages/lisp-xyz.scm (sbcl-interface, ecl-interface, cl-interface): New variables.

Change-Id: Ia68ca7728bdd9798b93b07ecc3363d04d7d4ecea
---
 gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4bc3c71a54..912a8c6df0 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20433,6 +20433,37 @@ (define-public sbcl-3d-quaternions
 (define-public cl-3d-quaternions
   (sbcl-package->cl-source-package sbcl-3d-quaternions))
 
+(define-public sbcl-interface
+  (let ((commit "6d8bd74214053debcbc0b174d65ea73c271c1563")
+        (revision "0"))
+    (package
+      (name "sbcl-interface")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/stylewarning/interface")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0h1bckhyig2znl6nrd3agjzz7knrm2kyh2vfyk7j60kzki9rpzxy"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs (list sbcl-alexandria sbcl-global-vars))
+      (synopsis
+       "This system contains an implementation of interfaces and implementations")
+      (description
+       "Broadly speaking, an \"interface\" is some collection of 
+function \"prototypes\" that a valid implementation must implement.")
+      (home-page "https://github.com/stylewarning/interface")
+      (license license:bsd-3))))
+
+(define-public ecl-interface
+  (sbcl-package->ecl-package sbcl-interface))
+
+(define-public cl-interface
+  (sbcl-package->cl-source-package sbcl-interface))
+
 (define-public sbcl-messagebox
   (let ((commit "ea3688d9a9954bee7079c0173bc7b3f327021e9f")
         (revision "1"))

base-commit: 0083a2265960f8228112c36e0d10eb974ff9d1f1
-- 
2.41.0