[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/65: gnu: Add sbcl-cffi-bootstrap.
From: |
Pierre Neidhardt |
Subject: |
44/65: gnu: Add sbcl-cffi-bootstrap. |
Date: |
Fri, 19 Oct 2018 11:59:49 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 5d9bf76235aaaf4c17356957a8a2e957fa4e6185
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 fb4b8d7..fe1b7cb 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -2930,3 +2930,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 sbcl-cffi-bootstrap
+ (package
+ (name "sbcl-cffi-bootstrap")
+ (version "0.19.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/cffi/cffi/archive/v"
+ version ".tar.gz"))
+ (sha256
+ (base32 "07bc3c1fbfx17wgrvx6bh9byilfzfwv5n597cfdllm0vzwvbmiyk"))
+ (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 "https://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:expat)))
- 37/65: gnu: Add ptester., (continued)
- 37/65: gnu: Add ptester., Pierre Neidhardt, 2018/10/19
- 49/65: gnu: Add sbcl-cl-sqlite., Pierre Neidhardt, 2018/10/19
- 31/65: gnu: Add cl-ansi-text., Pierre Neidhardt, 2018/10/19
- 48/65: gnu: Add sbcl-cffi., Pierre Neidhardt, 2018/10/19
- 50/65: gnu: Add parenscript., Pierre Neidhardt, 2018/10/19
- 45/65: gnu: Add sbcl-cffi-toolchain., Pierre Neidhardt, 2018/10/19
- 36/65: gnu: Add simple-scanf., Pierre Neidhardt, 2018/10/19
- 65/65: gnu: Add lparallel., Pierre Neidhardt, 2018/10/19
- 43/65: gnu: Add queues.priority-cqueue., Pierre Neidhardt, 2018/10/19
- 38/65: gnu: Add puri., Pierre Neidhardt, 2018/10/19
- 44/65: gnu: Add sbcl-cffi-bootstrap.,
Pierre Neidhardt <=
- 59/65: gnu: Add sbcl-cl-cffi-gtk-cairo., Pierre Neidhardt, 2018/10/19
- 64/65: gnu: Add sbcl-cl-webkit., Pierre Neidhardt, 2018/10/19
- 46/65: gnu: Add sbcl-cffi-libffi., Pierre Neidhardt, 2018/10/19
- 55/65: gnu: Add sbcl-cl-cffi-gtk., Pierre Neidhardt, 2018/10/19
- 54/65: gnu: Add closer-mop., Pierre Neidhardt, 2018/10/19
- 62/65: gnu: Add sbcl-cl-cffi-gtk-gdk., Pierre Neidhardt, 2018/10/19
- 29/65: gnu: Add let-plus., Pierre Neidhardt, 2018/10/19
- 42/65: gnu: Add queues.priority-queue., Pierre Neidhardt, 2018/10/19
- 39/65: gnu: Add queues., Pierre Neidhardt, 2018/10/19
- 40/65: gnu: Add queues.simple-queue., Pierre Neidhardt, 2018/10/19