Subject: [bug#67428] [PATCH 01/12] gnu: Add cl-interface

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

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

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

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4bc3c71a54..0e0e849ea4 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20433,6 +20433,35 @@ (define-public sbcl-3d-quaternions
 (define-public cl-3d-quaternions
   (sbcl-package->cl-source-package sbcl-3d-quaternions))
 
+(define-public sbcl-interface
+  (package
+    (name "sbcl-interface")
+    (version "0.0.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/stylewarning/interface")
+             (commit "6d8bd74214053debcbc0b174d65ea73c271c1563")))
+       (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"))
-- 
2.41.0