[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/15: gnu: Add cl-libuv.
From: |
guix-commits |
Subject: |
07/15: gnu: Add cl-libuv. |
Date: |
Fri, 17 Jan 2020 07:47:00 -0500 (EST) |
glv pushed a commit to branch master
in repository guix.
commit 37b48dc181afecfcfc0792454b0a67c80c8aff00
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Fri Jan 17 10:04:48 2020 +0100
gnu: Add cl-libuv.
* gnu/packages/lisp-xyz.scm (sbcl-cl-libuv, cl-libuv, ecl-cl-libuv): New
variables.
---
gnu/packages/lisp-xyz.scm | 51 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 51 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 0b70732..a0d5b1c 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -51,6 +51,7 @@
#:use-module (gnu packages compression)
#:use-module (gnu packages glib)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages libffi)
#:use-module (gnu packages lisp)
#:use-module (gnu packages maths)
@@ -9413,3 +9414,53 @@ has a small codebase that's easy to understand and use.")
(define-public ecl-vom
(sbcl-package->ecl-package sbcl-vom))
+
+(define-public sbcl-cl-libuv
+ (let ((commit "32100c023c518038d0670a103eaa4d50dd785d29")
+ (revision "1"))
+ (package
+ (name "sbcl-cl-libuv")
+ (version (git-version "0.1.6" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/orthecreedence/cl-libuv.git")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "1kwix4si8a8hza34ab2k7whrh7z0yrmx39v2wc3qblv9m244jkh1"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("cffi" ,sbcl-cffi)
+ ("cffi-grovel" ,sbcl-cffi-grovel)
+ ("libuv" ,libuv)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "lib.lisp"
+ (("/usr/lib/libuv.so")
+ (string-append (assoc-ref inputs "libuv")
+ "/lib/libuv.so")))
+ #t))
+ (add-after 'fix-paths 'fix-system-definition
+ (lambda _
+ (substitute* "cl-libuv.asd"
+ (("#:cffi #:alexandria")
+ "#:cffi #:cffi-grovel #:alexandria"))
+ #t)))))
+ (synopsis "Common Lisp bindings to libuv")
+ (description
+ "This library provides low-level libuv bindings for Common Lisp.")
+ (home-page "https://github.com/orthecreedence/cl-libuv")
+ (license license:expat))))
+
+(define-public cl-libuv
+ (sbcl-package->cl-source-package sbcl-cl-libuv))
+
+(define-public ecl-cl-libuv
+ (sbcl-package->ecl-package sbcl-cl-libuv))
- branch master updated (33ed829 -> 8ea00ed), guix-commits, 2020/01/17
- 01/15: gnu: Add cl-misc-extensions., guix-commits, 2020/01/17
- 02/15: gnu: Add cl-mt19937., guix-commits, 2020/01/17
- 04/15: gnu: Add cl-cont., guix-commits, 2020/01/17
- 05/15: gnu: Add cl-coroutine., guix-commits, 2020/01/17
- 06/15: gnu: Add cl-vom., guix-commits, 2020/01/17
- 11/15: gnu: Add cl-async-repl., guix-commits, 2020/01/17
- 14/15: gnu: Add cl-async-future., guix-commits, 2020/01/17
- 07/15: gnu: Add cl-libuv.,
guix-commits <=
- 08/15: gnu: Add cl-async-base., guix-commits, 2020/01/17
- 12/15: gnu: Add cl-async-ssl., guix-commits, 2020/01/17
- 09/15: gnu: Add cl-async-util., guix-commits, 2020/01/17
- 03/15: gnu: Add cl-fset., guix-commits, 2020/01/17
- 10/15: gnu: Add cl-async., guix-commits, 2020/01/17
- 15/15: gnu: Add cl-green-threads., guix-commits, 2020/01/17
- 13/15: gnu: Add cl-blackbird., guix-commits, 2020/01/17