From: Foo Chuan Wei <chuanwei.foo@hotmail.com>
To: 51191@debbugs.gnu.org
Subject: [bug#51191] [PATCH] gnu: Add cl-montezuma
Date: Wed, 13 Oct 2021 20:01:54 +0000 [thread overview]
Message-ID: <PU1PR01MB21555E27F5D076F59E2C25648DB79@PU1PR01MB2155.apcprd01.prod.exchangelabs.com> (raw)
* gnu/packages/lisp-xyz.scm (cl-montezuma, ecl-montezuma, sbcl-montezuma):
New variables.
---
gnu/packages/lisp-xyz.scm | 48 +++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 29d79e481e..151d31d9f5 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -19072,3 +19072,51 @@ libyaml.")
(define-public ecl-cl-yaml
(sbcl-package->ecl-package sbcl-cl-yaml))
+
+(define-public sbcl-montezuma
+ (let ((commit "ee2129eece7065760de4ebbaeffaadcb27644738")
+ (revision "1"))
+ (package
+ (name "sbcl-montezuma")
+ (version (git-version "0.0.0" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/sharplispers/montezuma")
+ (commit commit)))
+ (file-name (git-file-name "cl-montezuma" version))
+ (sha256
+ (base32
+ "0svmvsbsirydk3c1spzfvj8qmkzcs9i69anpfvk1843i62wb7x2c"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments `(#:phases
+ (modify-phases %standard-phases
+ ;; The _darcs directory contains a second copy of
+ ;; montezuma-indexfiles.asd. Remove the directory to
+ ;; prevent build failure caused by .asd files that have
+ ;; the same filename.
+ (add-after 'unpack 'remove-darcs-directory
+ (lambda _
+ (delete-file-recursively
+ "contrib/montezuma-indexfiles/_darcs"))))
+ ;; Tests fail with: :FORCE and :FORCE-NOT arguments not
+ ;; allowed in a nested call to ASDF/OPERATE:OPERATE unless
+ ;; identically to toplevel
+ #:tests? #f))
+ (inputs `(("cl-ppcre" ,sbcl-cl-ppcre)
+ ("cl-fad" ,sbcl-cl-fad)
+ ("babel" ,sbcl-babel)))
+ (native-inputs `(("trivial-timeout" ,sbcl-trivial-timeout)))
+ (home-page "https://github.com/sharplispers/montezuma")
+ (synopsis "Full-text indexing and search for Common Lisp")
+ (description
+ "Montezuma is a text search engine library for Lisp based on the Ferret
+library for Ruby, which is itself based on the Lucene library for Java.")
+ (license (list license:expat ; montezuma
+ license:gpl3+))))) ; contrib/montezuma-indexfiles
+
+(define-public cl-montezuma
+ (sbcl-package->cl-source-package sbcl-montezuma))
+
+(define-public ecl-montezuma
+ (sbcl-package->ecl-package sbcl-montezuma))
base-commit: 393315a98ef0b1cbafb661be5c36bbd4f30dba2e
--
2.25.1
next reply other threads:[~2021-10-13 20:03 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-13 20:01 Foo Chuan Wei [this message]
2021-10-15 9:21 ` bug#51191: [PATCH] gnu: Add cl-montezuma Guillaume Le Vaillant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=PU1PR01MB21555E27F5D076F59E2C25648DB79@PU1PR01MB2155.apcprd01.prod.exchangelabs.com \
--to=chuanwei.foo@hotmail.com \
--cc=51191@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).