From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:470:142:3::10]:48913) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5HkC-0005jC-EM for guix-patches@gnu.org; Fri, 21 Feb 2020 18:30:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5HkB-0006xv-8u for guix-patches@gnu.org; Fri, 21 Feb 2020 18:30:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42455) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5HkB-0006xm-5k for guix-patches@gnu.org; Fri, 21 Feb 2020 18:30:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5HkB-0000mh-27 for guix-patches@gnu.org; Fri, 21 Feb 2020 18:30:03 -0500 Subject: [bug#39730] [PATCH 2/2] gnu: Add cl-lquery. References: <87pne7eeam.fsf@bendersteed.tech> In-Reply-To: <87pne7eeam.fsf@bendersteed.tech> Resent-Message-ID: From: Dimakis Dimakakos Date: Sat, 22 Feb 2020 01:29:35 +0200 Message-Id: <20200221232935.780-1-me@bendersteed.tech> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 39730@debbugs.gnu.org Cc: Dimakakos Dimos From: Dimakakos Dimos * gnu/packages/lisp-xyz.scm (sbcl-lquery, cl-lquery, ecl-lquery): New variables. --- gnu/packages/lisp-xyz.scm | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) 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)) -- 2.25.0