[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/67: gnu: Add sbcl-cffi-bootstrap.
From: |
Pierre Neidhardt |
Subject: |
46/67: gnu: Add sbcl-cffi-bootstrap. |
Date: |
Wed, 17 Oct 2018 04:20:19 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser2
in repository guix.
commit c366f80fb5f7de9003e7cc153453afb787f0ea0d
Author: Pierre Neidhardt <address@hidden>
Date: Tue Oct 2 19:58:33 2018 +0200
gnu: Add sbcl-cffi-bootstrap.
* gnu/packages/lisp.scm (sbcl-cffi-bootstrap): New variable.
---
gnu/packages/lisp.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index ad2da09..abd922c 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2928,3 +2928,45 @@ non-consing thread safe queues and fibonacci priority
queues.")
(define-public ecl-queues.priority-cqueue
(sbcl-package->ecl-package sbcl-queues.priority-cqueue))
+
+(define-public sbcl-cffi-bootstrap
+ (package
+ (name "sbcl-cffi-bootstrap")
+ (version "0.18.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/cffi/cffi/archive/v"
+ version ".tar.gz"))
+ (sha256
+ (base32 "0ac40z3sg5szhm99l3bjpm0v1yz2vlhc6scqx1qzvlfcawc66m9q"))
+ (file-name (string-append name "-" version ".tar.gz"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("libffi" ,libffi)
+ ("alexandria" ,sbcl-alexandria)
+ ("babel" ,sbcl-babel)
+ ("trivial-features" ,sbcl-trivial-features)))
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (arguments
+ '(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "libffi/libffi.lisp"
+ (("libffi.so.6" all) (string-append
+ (assoc-ref inputs "libffi")
+ "/lib/" all)))
+ (substitute* "toolchain/c-toolchain.lisp"
+ (("\"cc\"") (format #f "~S" (which "gcc")))))))
+ #:asd-system-name "cffi"
+ #:tests? #f))
+ (home-page "http://common-lisp.net/project/cffi")
+ (synopsis "Common Foreign Function Interface for Common Lisp")
+ (description "The Common Foreign Function Interface (CFFI)
+purports to be a portable foreign function interface for Common Lisp.
+The CFFI library is composed of a Lisp-implementation-specific backend
+in the CFFI-SYS package, and a portable frontend in the CFFI
+package.")
+ (license license:x11)))
- 50/67: gnu: Add sbcl-cffi., (continued)
- 50/67: gnu: Add sbcl-cffi., Pierre Neidhardt, 2018/10/17
- 49/67: gnu: Add sbcl-cffi-grovel., Pierre Neidhardt, 2018/10/17
- 48/67: gnu: Add sbcl-cffi-libffi., Pierre Neidhardt, 2018/10/17
- 39/67: gnu: Add ptester., Pierre Neidhardt, 2018/10/17
- 37/67: gnu: Add parse-float., Pierre Neidhardt, 2018/10/17
- 38/67: gnu: Add simple-scanf., Pierre Neidhardt, 2018/10/17
- 40/67: gnu: Add puri., Pierre Neidhardt, 2018/10/17
- 52/67: gnu: Add sbcl-cl-sqlite., Pierre Neidhardt, 2018/10/17
- 45/67: gnu: Add queues.priority-cqueue., Pierre Neidhardt, 2018/10/17
- 42/67: gnu: Add queues.simple-queue., Pierre Neidhardt, 2018/10/17
- 46/67: gnu: Add sbcl-cffi-bootstrap.,
Pierre Neidhardt <=
- 59/67: gnu: Add trivial-garbage., Pierre Neidhardt, 2018/10/17
- 57/67: gnu: Add sbcl-cl-cffi-gtk., Pierre Neidhardt, 2018/10/17
- 63/67: gnu: Add lparallel., Pierre Neidhardt, 2018/10/17
- 60/67: gnu: Add closer-mop., Pierre Neidhardt, 2018/10/17
- 56/67: gnu: Add cl-unix-opts., Pierre Neidhardt, 2018/10/17
- 47/67: gnu: Add sbcl-cffi-toolchain., Pierre Neidhardt, 2018/10/17
- 53/67: sbcl-split-sequence (FIX), Pierre Neidhardt, 2018/10/17
- 66/67: ascii-strings (FIX), Pierre Neidhardt, 2018/10/17
- 55/67: gnu: Add cl-json., Pierre Neidhardt, 2018/10/17
- 44/67: gnu: Add queues.priority-queue., Pierre Neidhardt, 2018/10/17