gnu: Add omega.

* gnu/packages/search.scm (omega): New variable.
* gnu/packages/search.scm (xapian): Add note to update omega when updating
xapian.
This commit is contained in:
Arun Isaac 2022-06-24 18:17:50 +05:30
parent 7dfb8dc4c1
commit 37dd7e53b9
No known key found for this signature in database
GPG Key ID: 2E25EE8B61802BB3

View File

@ -74,7 +74,8 @@
(package
(name "xapian")
(version "1.4.19")
;; Note: When updating Xapian, remember to update xapian-bindings below.
;; Note: When updating Xapian, remember to update omega and
;; python-xapian-bindings below.
(source (origin
(method url-fetch)
(uri (string-append "https://oligarchy.co.uk/xapian/" version
@ -108,6 +109,35 @@ rich set of boolean query operators.")
(home-page "https://xapian.org/")
(license (list license:gpl2+ license:bsd-3 license:x11))))
(define-public omega
(package
(name "omega")
(version (package-version xapian))
(source
(origin
(method url-fetch)
(uri (string-append "https://oligarchy.co.uk/xapian/" version
"/xapian-omega-" version ".tar.xz"))
(sha256
(base32
"136dsna6jvq48j4x4rr5y9nxmgrif9kvf4ybl5a6gpsmgqlfzcp4"))))
(build-system gnu-build-system)
(inputs
(list (list pcre "bin") perl xapian zlib))
(home-page "https://xapian.org/")
(synopsis "Search engine built on Xapian")
(description
"Omega is a search application built on Xapian. It provides indexers and
a CGI web search frontend.")
(license (list license:gpl2+ ; Main license
;; csvescape.cc, csvescape.h, csvesctest.cc, datetime.cc,
;; datetime.h, jsonescape.cc, jsonescape.h, jsonesctest.cc,
;; mimemap.h, my-html-tok.h, namedents.h, pkglibbindir.cc,
;; pkglibbindir.h, timegm.cc, timegm.h, urldecode.h,
;; urlencode.cc, urlencode.h, urlenctest.cc, common/Tokeniseise.pm,
;; common/keyword.cc, common/keyword.h
license:expat))))
(define-public python-xapian-bindings
(package (inherit xapian)
(name "python-xapian-bindings")