From: Pierre Neidhardt <mail@ambrevar.xyz>
To: 35982@debbugs.gnu.org
Subject: [bug#35982] [PATCH 8/9] gnu: Add sbcl-iolib.
Date: Wed, 29 May 2019 15:29:55 +0200 [thread overview]
Message-ID: <20190529132956.7454-8-mail@ambrevar.xyz> (raw)
In-Reply-To: <20190529132956.7454-1-mail@ambrevar.xyz>
* gnu/packages/lisp.scm (sbcl-iolib): New variable.
---
gnu/packages/lisp.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 34bd0ce0cd..31d2e8d550 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -45,6 +45,7 @@
#:use-module (gnu packages admin)
#:use-module (gnu packages base)
#:use-module (gnu packages bdw-gc)
+ #:use-module (gnu packages c)
#:use-module (gnu packages compression)
#:use-module (gnu packages ed)
#:use-module (gnu packages fontutils)
@@ -5471,3 +5472,36 @@ and @code{kqueue(2)}), a pathname library and file-system utilities.")
(string-append (assoc-ref outputs "out")
"/lib/sbcl")))))))
(synopsis "CFFI Groveller for IOLib, a Common Lisp I/O library")))
+
+(define-public sbcl-iolib
+ (package
+ (inherit sbcl-iolib.asdf)
+ (name "sbcl-iolib")
+ (inputs
+ `(("iolib.asdf" ,sbcl-iolib.asdf)
+ ("iolib.conf" ,sbcl-iolib.conf)
+ ("iolib.grovel" ,sbcl-iolib.grovel)
+ ("iolib.base", sbcl-iolib.base)
+ ("bordeaux-threads", sbcl-bordeaux-threads)
+ ("idna", sbcl-idna)
+ ("swap-bytes", sbcl-swap-bytes)
+ ("libfixposix", libfixposix)))
+ (native-inputs
+ `(("fiveam" ,sbcl-fiveam)))
+ (arguments
+ '(#:asd-file "iolib.asd"
+ #:test-asd-file "iolib.tests.asd"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/syscalls/ffi-functions-unix.lisp"
+ (("\\(:default \"libfixposix\"\\)")
+ (string-append
+ "(:default \""
+ (assoc-ref inputs "libfixposix") "/lib/libfixposix\")")))
+ ;; Socket tests need Internet access, disable them.
+ (substitute* "iolib.tests.asd"
+ (("\\(:file \"sockets\" :depends-on \\(\"pkgdcl\" \"defsuites\"\\)\\)")
+ "")))))))
+ (synopsis "Common Lisp I/O library")))
--
2.21.0
next prev parent reply other threads:[~2019-05-29 13:31 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-29 13:29 [bug#35991] [PATCH 0/9] Packaging sbcl-iolib (and dbus) Pierre Neidhardt
2019-05-29 13:29 ` [bug#35985] [PATCH 1/9] gnu: Add idna Pierre Neidhardt
2019-05-29 13:29 ` [bug#35984] [PATCH 2/9] gnu: Add swap-bytes Pierre Neidhardt
2019-05-29 13:29 ` [bug#35989] [PATCH 3/9] gnu: Add sbcl-iolib.asdf Pierre Neidhardt
2019-05-29 13:29 ` [bug#35986] [PATCH 4/9] gnu: Add sbcl-iolib.conf Pierre Neidhardt
2019-05-29 13:29 ` [bug#35988] [PATCH 5/9] gnu: Add sbcl-iolib.common-lisp Pierre Neidhardt
2019-05-29 13:29 ` [bug#35987] [PATCH 6/9] gnu: Add sbcl-iolib.base Pierre Neidhardt
2019-05-29 13:29 ` [bug#35983] [PATCH 7/9] gnu: Add sbcl-iolib.grovel Pierre Neidhardt
2019-05-29 13:29 ` Pierre Neidhardt [this message]
2019-05-29 13:29 ` [bug#35990] [PATCH 9/9] gnu: Add sbcl-dbus Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 1/9] gnu: Add idna Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 2/9] gnu: Add swap-bytes Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 3/9] gnu: Add sbcl-iolib.asdf Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 4/9] gnu: Add sbcl-iolib.conf Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 5/9] gnu: Add sbcl-iolib.common-lisp Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 6/9] gnu: Add sbcl-iolib.base Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 7/9] gnu: Add sbcl-iolib.grovel Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 8/9] gnu: Add sbcl-iolib Pierre Neidhardt
2019-05-29 14:07 ` [bug#35991] [PATCH 9/9] gnu: Add sbcl-dbus Pierre Neidhardt
2019-06-04 12:50 ` [bug#35991] [PATCH 0/9] Packaging sbcl-iolib (and dbus) Katherine Cox-Buday
2019-06-26 8:30 ` Pierre Neidhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190529132956.7454-8-mail@ambrevar.xyz \
--to=mail@ambrevar.xyz \
--cc=35982@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.