gnu: Add plocate.
* gnu/packages/search.scm (plocate): New variable. Add the required imports from (guix build-system meson) and (gnu packages pkg-config). Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
parent
d3862d12bb
commit
55092b4980
1 changed files with 33 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
;;; Copyright © 2018 Adam Massmann <massmannak@gmail.com>
|
||||
;;; Copyright © 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
|
||||
;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
|
||||
;;; Copyright © 2021 Alexandr Vityazev <avityazev@posteo.org>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -33,6 +34,7 @@ (define-module (gnu packages search)
|
|||
#:use-module (guix build-system gnu)
|
||||
#:use-module (guix build-system perl)
|
||||
#:use-module (guix build-system python)
|
||||
#:use-module (guix build-system meson)
|
||||
#:use-module (gnu packages)
|
||||
#:use-module (gnu packages compression)
|
||||
#:use-module (gnu packages check)
|
||||
|
@ -51,7 +53,8 @@ (define-module (gnu packages search)
|
|||
#:use-module (gnu packages time)
|
||||
#:use-module (gnu packages web)
|
||||
#:use-module (gnu packages xdisorg)
|
||||
#:use-module (gnu packages xml))
|
||||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages pkg-config))
|
||||
|
||||
(define-public xapian
|
||||
(package
|
||||
|
@ -333,6 +336,35 @@ (define-public mlocate
|
|||
conflict with slocate compatibility.")
|
||||
(license gpl2)))
|
||||
|
||||
(define-public plocate
|
||||
(package
|
||||
(name "plocate")
|
||||
(version "1.1.11")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://plocate.sesse.net/download/"
|
||||
"plocate-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "0kwfp3hwf9dbakf3h378qrhl0jd1spxxrs4snmgb5jsbdijwd777"))))
|
||||
(build-system meson-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags
|
||||
(list
|
||||
(string-append
|
||||
"--sharedstatedir=" (assoc-ref %outputs "out") "/var"))))
|
||||
(inputs
|
||||
`(("liburing" ,liburing)
|
||||
("zstd" ,zstd "lib")))
|
||||
(native-inputs
|
||||
`(("pkg-config" ,pkg-config)))
|
||||
(home-page "https://plocate.sesse.net/")
|
||||
(synopsis "Faster locate")
|
||||
(description "Plocate is a @code{locate} based on posting lists,
|
||||
completely replacing @command{mlocate} with a faster and smaller index. It is
|
||||
suitable as a default locate on your system.")
|
||||
(license gpl2)))
|
||||
|
||||
(define-public swish-e
|
||||
(package
|
||||
(name "swish-e")
|
||||
|
|
Loading…
Reference in a new issue