From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 48542@debbugs.gnu.org
Subject: [bug#48542] [PATCH 2/3]: gnu: Add lev
Date: Thu, 20 May 2021 16:39:33 +0000 [thread overview]
Message-ID: <CAO+9K5p3hLriKaE-9kAB5LwuP61zLiN5M8=_Qqz4mR8K=9Mm2A@mail.gmail.com> (raw)
In-Reply-To: <CAO+9K5qGLKApAX5H=jNpJHY5NOZUhEm=2rxDYVeL6=VugyCbwg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 356 bytes --]
--
… наш разум - превосходная объяснительная машина которая способна
найти смысл почти в чем угодно, истолковать любой феномен, но
совершенно не в состоянии принять мысль о непредсказуемости.
[-- Attachment #2: 0002-gnu-Add-lev-Common-Lisp-cffi-binding-to-libev.patch --]
[-- Type: text/x-patch, Size: 2189 bytes --]
From a16ac9342a5355a51a877e62a362cb9bd45495cf Mon Sep 17 00:00:00 2001
From: Sharlatan Hellseher <sharlatanus@gmail.com>
Date: Thu, 20 May 2021 17:29:42 +0100
Subject: [PATCH 2/3] gnu: Add lev (Common Lisp cffi binding to libev)
* gnu/packages/lisp-xyz.scm (sbcl-lev, ecl-lev, cl-lev): 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 4cb1472078..6fb48f404b 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16710,3 +16710,45 @@ format.")
(define-public ecl-cl-speedy-queue
(sbcl-package->ecl-package sbcl-cl-speedy-queue))
+
+(define-public sbcl-lev
+ (let ((commit "7d03c68dad44f1cc4ac2aeeab2d24eb525ad941a")
+ (revision "1"))
+ (package
+ (name "sbcl-lev")
+ (version (git-version "0.1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fukamachi/lev")
+ (commit commit)))
+ (file-name (git-file-name "lev" version))
+ (sha256
+ (base32 "14lfnrvfyg2nnvlwck896p6vgarzc6g4kijmvhi2d8wra7gxzifh"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ ;; NOTE: (Sharlatan-20210520T163300+0100): No tests in upstream
+ `(#:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'patch-libev-lib-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "src/lev.lisp"
+ (("libev.so" all)
+ (string-append (assoc-ref inputs "libev")
+ "/lib/" all))))))))
+ (inputs
+ `(("cffi" ,sbcl-cffi)
+ ("libev" ,libev)))
+ (home-page "https://github.com/fukamachi/lev")
+ (synopsis "Common Lisp bindins for libev")
+ (description
+"Common Lisp bindins for libev")
+ (license license:bsd-2))))
+
+(define-public cl-lev
+ (sbcl-package->cl-source-package sbcl-lev))
+
+(define-public ecl-lev
+ (sbcl-package->ecl-package sbcl-lev))
--
2.31.1
next prev parent reply other threads:[~2021-05-20 16:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-20 16:37 [bug#48542] [PATCH 3/3]: gnu: Add woo Sharlatan Hellseher
2021-05-20 16:39 ` Sharlatan Hellseher [this message]
2021-05-20 16:40 ` [bug#48542] [PATCH 1/3]: gnu: Add cl-speedy-queue Sharlatan Hellseher
2021-05-21 9:22 ` bug#48542: [PATCH 3/3]: gnu: Add woo Guillaume Le Vaillant
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAO+9K5p3hLriKaE-9kAB5LwuP61zLiN5M8=_Qqz4mR8K=9Mm2A@mail.gmail.com' \
--to=sharlatanus@gmail.com \
--cc=48542@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 public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).