aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2021-05-20 17:29:42 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2021-05-21 10:28:13 +0200
commitc4ebe659ab982f9ed40175af6dd5d8e3a342ac3e (patch)
treed83d4bb3cacfe2fda0129c8c9137631cab7dfac5 /gnu
parent0195d9041a5f440a7e2e14b39e98f596fddf0c12 (diff)
downloadguix-c4ebe659ab982f9ed40175af6dd5d8e3a342ac3e.tar
guix-c4ebe659ab982f9ed40175af6dd5d8e3a342ac3e.tar.gz
gnu: Add cl-lev.
* gnu/packages/lisp-xyz.scm (sbcl-lev, ecl-lev, cl-lev): New variables. Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm41
1 files changed, 41 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2a6fe76a43..3f23d035a6 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -16711,3 +16711,44 @@ Common Lisp.")
(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 bindings for libev")
+ (description "This package provides Common Lisp bindings 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))