Subject: bug#46774: closed (Re: [bug#46774] [PATCH] gnu: Add sbcl-cffi-c-ref.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 26 Feb 2021 08:12:02 +0000

Your bug report

#46774: [PATCH] gnu: Add sbcl-cffi-c-ref.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
46774: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=46774
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#46774] [PATCH] gnu: Add sbcl-cffi-c-ref.
From: Guillaume Le Vaillant <[email-masked]>
To: Adam Kandur <[email-masked]>
Cc: [email-masked]
Date: Fri, 26 Feb 2021 09:11:34 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Patch pushed as f9dd7683c6740240895cfdd5f82d014277e2faf0 with some
modifications.
Thanks.

Subject: [PATCH] gnu: Add sbcl-cffi-c-ref.
From: Adam Kandur <[email-masked]>
To: Guix Patches <[email-masked]>
Date: Thu, 25 Feb 2021 16:31:40 +0100 (CET)
List-Id: <debbugs-submit.debbugs.gnu.org>

master 84cc5947728a983f0544f02ca652315049f32288
Author:     Adam Kandur <[email-masked]>
AuthorDate: Thu Feb 25 18:23:16 2021 +0300
Commit:     Adam Kandur <[email-masked]>
CommitDate: Thu Feb 25 18:23:16 2021 +0300

Parent:     a2ece4d gnu: Add go-github-com-operatorfoundation-ed25519.
Merged:     master
Contained:  master

gnu: Add sbcl-cffi-c-ref.

* gnu/packages/lisp-xyz.scm (sbcl-cffi-c-ref): New variable.

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

modified   gnu/packages/lisp-xyz.scm
@@ -2931,6 +2931,37 @@ package.")
 (define-public ecl-cffi
   (sbcl-package->ecl-package sbcl-cffi))
 
+(define-public sbcl-cffi-c-ref
+  (package
+    (name "sbcl-cffi-c-ref")
+    (version "stable")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/borodust/cffi-c-ref")
+             (commit version)))
+       (sha256
+        (base32 "1a3pp6xcisabqir3rp1gvvjfdxcvpm8yr35p38nri9azsinmmc7z"))
+       (file-name (git-file-name name version))))
+    (build-system asdf-build-system/sbcl)
+    (inputs
+     `(("alexandria" ,sbcl-alexandria)
+       ("cffi" ,sbcl-cffi)))
+    (arguments
+     `(#:asd-files   '("cffi-c-ref.asd")
+       #:asd-systems '("cffi-c-ref")))
+    (synopsis "Adds streamlined access to foreign memory.")
+    (description "Adds streamlined access to foreign memory.")
+    (home-page "https://github.com/borodust/cffi-c-ref")
+    (license license:expat)))
+
+(define-public cl-cffi-c-ref
+  (sbcl-package->cl-source-package sbcl-cffi-c-ref))
+
+(define-public ecl-cffi-c-ref
+  (sbcl-package->ecl-package sbcl-cffi-c-ref))
+
 (define-public sbcl-cl-sqlite
   (package
     (name "sbcl-cl-sqlite")