[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/11: gnu: Add dataparksearch.
From: |
guix-commits |
Subject: |
08/11: gnu: Add dataparksearch. |
Date: |
Sat, 22 Apr 2023 06:01:31 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit f07d5c38c55bf561b2f3948096a6a050fd291fb8
Author: Adam Faiz <adam.faiz@disroot.org>
AuthorDate: Sat Apr 22 10:55:20 2023 +0200
gnu: Add dataparksearch.
* gnu/packages/search.scm (dataparksearch): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/search.scm | 59 +++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 59 insertions(+)
diff --git a/gnu/packages/search.scm b/gnu/packages/search.scm
index c8c3ff45d0..71609a21fa 100644
--- a/gnu/packages/search.scm
+++ b/gnu/packages/search.scm
@@ -12,6 +12,7 @@
;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com>
;;; Copyright © 2022 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2022 Michael Rohleder <mike@rohleder.de>
+;;; Copyright © 2023 Adam Faiz <adam.faiz@disroot.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -40,6 +41,7 @@
#:use-module (guix build-system python)
#:use-module (guix build-system meson)
#:use-module (gnu packages)
+ #:use-module (gnu packages adns)
#:use-module (gnu packages aspell)
#:use-module (gnu packages autotools)
#:use-module (gnu packages base)
@@ -51,6 +53,7 @@
#:use-module (gnu packages gawk)
#:use-module (gnu packages gettext)
#:use-module (gnu packages glib)
+ #:use-module (gnu packages gnunet)
#:use-module (gnu packages groff)
#:use-module (gnu packages gtk)
#:use-module (gnu packages icu4c)
@@ -67,6 +70,7 @@
#:use-module (gnu packages qt)
#:use-module (gnu packages sphinx)
#:use-module (gnu packages time)
+ #:use-module (gnu packages tls)
#:use-module (gnu packages web)
#:use-module (gnu packages xdisorg)
#:use-module (gnu packages xml)
@@ -328,6 +332,61 @@ accounting for new lines and paragraph changes. It also
has robust support
for parsing HTML files.")
(license license:gpl3+)))
+(define-public dataparksearch
+ (let ((commit "8efa28f31ce1273c0556fd5c7e06abe955197a69")
+ (revision "0"))
+ (package
+ (name "dataparksearch")
+ (version (git-version "4.54" revision commit))
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Maxime2/dataparksearch")
+ (commit commit)))
+ (sha256
+ (base32
+ "01z7s3ws5px2p9brzrq9j41jbdh1cvj8n8y3ghx45gfv1n319ipg"))
+ (modules '((guix build utils)))
+ (snippet
+ #~(for-each delete-file '("config.sub"
+ "config.guess"
+ "configure"
+ "Makefile.in"
+ "missing"
+ "depcomp"
+ "ltmain.sh"
+ "compile")))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (arguments
+ (list
+ #:configure-flags
+ #~(list "--with-extra-charsets=all"
+ (string-append "--with-aspell=" #$(this-package-input
"aspell"))
+ (string-append "--with-pgsql="
+ #$(this-package-input "postgresql")))
+ #:make-flags
+ #~(list "DPS_TEST_DBADDR=postgresql://localhost/tmp/postgresql/")))
+ (native-inputs
+ (list autoconf automake libtool openjade pkg-config))
+ (inputs
+ (list aspell
+ c-ares
+ libextractor
+ mbedtls-apache
+ postgresql
+ zlib))
+ (synopsis "Feature rich search engine")
+ (description
+ "Dataparksearch is a full featured web search engine.
+It has support for HTTP, HTTPS, ftp (passive mode), NNTP and news URL schemes,
+and other URL schemes with external parsers. It can tweak URLs with session
+IDs and other weird formats, including some JavaScript link decoding. Options
+to query with all words, all words near to each others, any words, or boolean
+queries. A subset of VQL (Verity Query Language) is supported.")
+ (home-page "https://www.dataparksearch.org/")
+ (license license:gpl2+))))
+
(define-public fsearch
(package
(name "fsearch")
- branch master updated (75cfbf1985 -> 8495803336), guix-commits, 2023/04/22
- 01/11: gnu: Add qpageview., guix-commits, 2023/04/22
- 04/11: gnu: emacs-org-rich-yank: Update to 0.2.2., guix-commits, 2023/04/22
- 02/11: gnu: frescobaldi: Update to 3.3.0., guix-commits, 2023/04/22
- 05/11: gnu: tlpui: Update to 1.5.0-7., guix-commits, 2023/04/22
- 08/11: gnu: Add dataparksearch.,
guix-commits <=
- 10/11: gnu: Add nemo., guix-commits, 2023/04/22
- 07/11: gnu: font-amiri: Update to 1.000., guix-commits, 2023/04/22
- 03/11: gnu: emacs-consult: Update to 0.34., guix-commits, 2023/04/22
- 09/11: gnu: cinnamon: Update to 5.6.2., guix-commits, 2023/04/22
- 06/11: gnu: hydrogen: Update to 1.2.0., guix-commits, 2023/04/22
- 11/11: gnu: libxapp: Update to 2.4.3., guix-commits, 2023/04/22