[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
62/67: gnu: Add sbcl-cl-webkit.
From: |
Pierre Neidhardt |
Subject: |
62/67: gnu: Add sbcl-cl-webkit. |
Date: |
Wed, 17 Oct 2018 04:20:22 -0400 (EDT) |
ambrevar pushed a commit to branch wip-next-browser2
in repository guix.
commit 759c14ff613fc821a482f7dfd7063d66451b6690
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 | 40 ++++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 3aa78b4..f8ef508 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -63,6 +63,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))
@@ -3444,3 +3445,42 @@ 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))))
- 66/67: ascii-strings (FIX), (continued)
- 66/67: ascii-strings (FIX), Pierre Neidhardt, 2018/10/17
- 55/67: gnu: Add cl-json., Pierre Neidhardt, 2018/10/17
- 44/67: gnu: Add queues.priority-queue., Pierre Neidhardt, 2018/10/17
- 51/67: cffi (FIX), Pierre Neidhardt, 2018/10/17
- 54/67: gnu: Add parenscript., Pierre Neidhardt, 2018/10/17
- 58/67: cffi-gtk-boot0 init, Pierre Neidhardt, 2018/10/17
- 61/67: gnu: Add sbcl-cl-cffi-gtk., Pierre Neidhardt, 2018/10/17
- 64/67: gnu: Add next-browser (DRAFT)., Pierre Neidhardt, 2018/10/17
- 65/67: next (FIX delete patch), Pierre Neidhardt, 2018/10/17
- 67/67: next (FIX), Pierre Neidhardt, 2018/10/17
- 62/67: gnu: Add sbcl-cl-webkit.,
Pierre Neidhardt <=