[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/08: gnu: Add cl-uffi.
From: |
guix-commits |
Subject: |
02/08: gnu: Add cl-uffi. |
Date: |
Fri, 28 Feb 2020 17:43:05 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit 1aa7ad1ffba98708e577c9d86b1a4ad10b6d5429
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Wed Feb 26 14:15:48 2020 +0100
gnu: Add cl-uffi.
* gnu/packages/lisp-xyz.scm (sbcl-uffi, cl-uffi): New variables.
---
gnu/packages/lisp-xyz.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index f791acc..ca62ca6 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10963,3 +10963,45 @@ interface for MySQL, PostgreSQL and SQLite.")
(define-public cl-dbd-sqlite3
(sbcl-package->cl-source-package sbcl-dbd-sqlite3))
+
+(define-public sbcl-uffi
+ (package
+ (name "sbcl-uffi")
+ (version "2.1.2")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "http://git.kpe.io/uffi.git")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1hqszvz0a3wk4s9faa83sc3vjxcb5rxmjclyr17yzwg55z733kry"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ `(#:tests? #f ; TODO: Fix use of deprecated ASDF functions
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-permissions
+ (lambda _
+ (make-file-writable "doc/html.tar.gz")
+ #t)))))
+ (synopsis "Universal foreign function library for Common Lisp")
+ (description
+ "UFFI provides a universal foreign function interface (FFI)
+ for Common Lisp.")
+ (home-page "http://quickdocs.org/uffi/")
+ (license license:llgpl)))
+
+(define-public cl-uffi
+ (package
+ (inherit (sbcl-package->cl-source-package sbcl-uffi))
+ (arguments
+ `(#:phases
+ ;; asdf-build-system/source has its own phases and does not inherit
+ ;; from asdf-build-system/sbcl phases.
+ (modify-phases %standard-phases/source
+ (add-after 'unpack 'fix-permissions
+ (lambda _
+ (make-file-writable "doc/html.tar.gz")
+ #t)))))))
- branch master updated (512068a -> 079ee3b), guix-commits, 2020/02/28
- 05/08: gnu: Add sbcl-clsql-sqlite3., guix-commits, 2020/02/28
- 06/08: gnu: Add sbcl-clsql-postgresql., guix-commits, 2020/02/28
- 02/08: gnu: Add cl-uffi.,
guix-commits <=
- 01/08: gnu: Add cl-cffi-uffi-compat., guix-commits, 2020/02/28
- 03/08: gnu: Add cl-clsql., guix-commits, 2020/02/28
- 04/08: gnu: Add sbcl-clsql-uffi., guix-commits, 2020/02/28
- 08/08: gnu: Add sbcl-clsql-mysql., guix-commits, 2020/02/28
- 07/08: gnu: Add sbcl-clsql-postgresql-socket3., guix-commits, 2020/02/28