mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
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:
parent
7dfb8dc4c1
commit
37dd7e53b9
1 changed files with 31 additions and 1 deletions
|
@ -74,7 +74,8 @@ (define-public xapian
|
|||
(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 @@ (define-public xapian
|
|||
(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")
|
||||
|
|
Loading…
Reference in a new issue