[bug#39730,2/2] gnu: Add cl-lquery.
diff mbox series

Message ID 20200221232935.780-1-me@bendersteed.tech
State Accepted
Headers show
Series
  • Add cl-lquery
Related show

Checks

Context Check Description
cbaines/comparison success View comparision
cbaines/git branch success View Git branch
cbaines/applying patch success View Laminar job

Commit Message

Dimos Dimakakos Feb. 21, 2020, 11:29 p.m. UTC
From: Dimakakos Dimos <me@bendersteed.tech>

* gnu/packages/lisp-xyz.scm (sbcl-lquery, cl-lquery, ecl-lquery): New variables.
---
 gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

Patch
diff mbox series

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c6f64ae278..8bdc7b8493 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10679,3 +10679,42 @@  selectors. It makes use of the Plump-DOM and is used by lQuery.")
 
 (define-public ecl-clss
   (sbcl-package->ecl-package sbcl-clss))
+
+(define-public sbcl-lquery
+  (let ((revision "1")
+	(commit "8048111c6b83956daa632e7a3ffbd8c9c203bd8d"))
+    (package
+      (name "sbcl-lquery")
+      (version (string-append "3.2.1-" revision "." (string-take commit 7)))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/Shinmera/lquery.git")
+           (commit commit)))
+         (sha256
+          (base32 "0520mcpxc2d6fdm8z61arpgd2z38kan7cf06qs373n5r64rakz6w"))
+         (file-name
+          (string-append "lquery" version "-checkout"))))
+      (inputs `(("array-utils" ,sbcl-array-utils)
+		("form-fiddle" ,sbcl-form-fiddle)
+		("plump" ,sbcl-plump)
+		("clss" ,sbcl-clss)
+		("fiveam" ,sbcl-fiveam)))
+      (build-system asdf-build-system/sbcl)
+      (synopsis "A library to allow jQuery-like HTML/DOM manipulation")
+      (description "lQuery is a DOM manipulation library written in
+Common Lisp, inspired by and based on the jQuery syntax and
+functions. It uses Plump and CLSS as DOM and selector engines. The
+main idea behind lQuery is to provide a simple interface for crawling
+and modifying HTML sites, as well as to allow for an alternative
+approach to templating.")
+      (home-page "https://github.com/Shinmera/lquery")
+      (license license:zlib))))
+
+(define-public cl-lquery
+  (sbcl-package->cl-source-package sbcl-lquery))
+
+(define-public ecl-lquery
+  (sbcl-package->ecl-package sbcl-lquery))