Subject: [PATCH] gnu: Add sbcl-bodge-blobs-support.
From: Adam Kandur <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Fri, 16 Apr 2021 01:31:12 +0200 (CEST)
List-Id: <debbugs-submit.debbugs.gnu.org>

From eeac3552e0a6df41e38f6cddf703fd41fbee8b7a Mon Sep 17 00:00:00 2001
From: Adam Kandur <[email-masked]>
Date: Fri, 16 Apr 2021 02:29:58 +0300
Subject: [PATCH] gnu: Add sbcl-bodge-blobs-support.

* gnu/packages/lisp-xyz.scm (sbcl-bodge-blobs-support): New variable.
---
 gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f340360..320875c 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -15578,6 +15578,38 @@ immediately loaded.")
 (define-public cl-bodge-math
   (sbcl-package->cl-source-package sbcl-bodge-math))
 
+(define-public sbcl-bodge-blobs-support
+  (package
+    (name "sbcl-bodge-blobs-support")
+    (version "stable")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/borodust/bodge-blobs-support")
+             (commit version)))
+       (file-name (git-file-name "bodge-blobs-support" version))
+       (sha256
+        (base32 "02nd1x6y1akp1ymv1y4z9ympwbnpd1drwi4f86xbjszxqff6jyj8"))))
+    (build-system asdf-build-system/sbcl)
+    (arguments
+     `(#:asd-files '("bodge-blobs-support.asd")
+       #:asd-systems '("bodge-blobs-support")))
+    (native-inputs
+     `(("trivial-features" ,sbcl-trivial-features)
+       ("sbcl-alexandria" ,sbcl-alexandria)
+       ("cffi" ,sbcl-cffi)))
+    (home-page "https://github.com/borodust/bodge-blobs-support")
+    (synopsis "Common utilities for blob packages")
+    (description "Library for simplifying packaging and loading of compiled foreign library collection.")
+    (license license:unlicense)))
+
+(define-public cl-bodge-blobs-support
+  (sbcl-package->cl-source-package sbcl-bodge-blobs-support))
+
+(define-public ecl-bodge-blobs-support
+  (sbcl-package->ecl-package sbcl-bodge-blobs-support))
+
 (define-public sbcl-cl-conspack
   (let ((commit "fc8473bc6f929696b03b43820596b7c976c4678e")
         (revision "1"))
-- 
2.31.1