[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/65: gnu: Add sbcl-cl-webkit.
From: |
Pierre Neidhardt |
Subject: |
64/65: gnu: Add sbcl-cl-webkit. |
Date: |
Fri, 19 Oct 2018 11:59:53 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 24fd7586a4d0ce7f61887fbc9341c6fcb72310a6
Author: Pierre Neidhardt <address@hidden>
Date: Wed Oct 10 15:07:01 2018 +0200
gnu: Add sbcl-cl-webkit.
* gnu/packages/lisp.scm (sbcl-cl-webkit): New variable.
---
gnu/packages/lisp.scm | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 6892797..8e201f3 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -64,6 +64,7 @@
#:use-module (gnu packages xorg)
#:use-module (gnu packages databases)
#:use-module (gnu packages gtk)
+ #:use-module (gnu packages webkit)
#:use-module (ice-9 match)
#:use-module (srfi srfi-1)
#:use-module (srfi srfi-19))
@@ -3443,3 +3444,43 @@ is a library for creating graphical user interfaces.")
;; TODO: Tests fail with memory fault.
;; See https://github.com/Ferada/cl-cffi-gtk/issues/24.
#:tests? #f))))
+
+(define-public sbcl-cl-webkit
+ (let ((commit "cd2a9008e0c152e54755e8a7f07b050fe36bab31"))
+ (package
+ (name "sbcl-cl-webkit")
+ (version (git-version "2.4" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/atlas-engineer/cl-webkit")
+ (commit commit)))
+ (file-name (git-file-name "cl-webkit" version))
+ (sha256
+ (base32
+ "0f5lyn9i7xrn3g1bddga377mcbawkbxydijpg389q4n04gqj0vwf"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("cffi" ,sbcl-cffi)
+ ("cl-cffi-gtk" ,sbcl-cl-cffi-gtk)
+ ("webkitgtk" ,webkitgtk)))
+ (arguments
+ `(#:asd-file "webkit2/cl-webkit2.asd"
+ #:asd-system-name "cl-webkit2"
+ #:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-paths
+ (lambda* (#:key inputs #:allow-other-keys)
+ (substitute* "webkit2/webkit2.init.lisp"
+ (("libwebkit2gtk" all)
+ (string-append
+ (assoc-ref inputs "webkitgtk") "/lib/" all))))))))
+ (home-page "https://github.com/atlas-engineer/cl-webkit")
+ (synopsis "Binding to WebKitGTK+ for Common Lisp")
+ (description
+ "@command{cl-webkit} is a binding to WebKitGTK+ for Common Lisp,
+currently targeting WebKit version 2. The WebKitGTK+ library adds web
+browsing capabilities to an application, leveraging the full power of the
+WebKit browsing engine.")
+ (license license:expat))))
- 31/65: gnu: Add cl-ansi-text., (continued)
- 31/65: gnu: Add cl-ansi-text., Pierre Neidhardt, 2018/10/19
- 48/65: gnu: Add sbcl-cffi., Pierre Neidhardt, 2018/10/19
- 50/65: gnu: Add parenscript., Pierre Neidhardt, 2018/10/19
- 45/65: gnu: Add sbcl-cffi-toolchain., Pierre Neidhardt, 2018/10/19
- 36/65: gnu: Add simple-scanf., Pierre Neidhardt, 2018/10/19
- 65/65: gnu: Add lparallel., Pierre Neidhardt, 2018/10/19
- 43/65: gnu: Add queues.priority-cqueue., Pierre Neidhardt, 2018/10/19
- 38/65: gnu: Add puri., Pierre Neidhardt, 2018/10/19
- 44/65: gnu: Add sbcl-cffi-bootstrap., Pierre Neidhardt, 2018/10/19
- 59/65: gnu: Add sbcl-cl-cffi-gtk-cairo., Pierre Neidhardt, 2018/10/19
- 64/65: gnu: Add sbcl-cl-webkit.,
Pierre Neidhardt <=
- 46/65: gnu: Add sbcl-cffi-libffi., Pierre Neidhardt, 2018/10/19
- 55/65: gnu: Add sbcl-cl-cffi-gtk., Pierre Neidhardt, 2018/10/19
- 54/65: gnu: Add closer-mop., Pierre Neidhardt, 2018/10/19
- 62/65: gnu: Add sbcl-cl-cffi-gtk-gdk., Pierre Neidhardt, 2018/10/19
- 29/65: gnu: Add let-plus., Pierre Neidhardt, 2018/10/19
- 42/65: gnu: Add queues.priority-queue., Pierre Neidhardt, 2018/10/19
- 39/65: gnu: Add queues., Pierre Neidhardt, 2018/10/19
- 40/65: gnu: Add queues.simple-queue., Pierre Neidhardt, 2018/10/19
- 51/65: gnu: Add cl-json., Pierre Neidhardt, 2018/10/19
- 41/65: gnu: Add queues.simple-cqueue., Pierre Neidhardt, 2018/10/19