Subject: [bug#59526] [PATCH] gnu: Add whoogle-search.

From: conses <[email-masked]>
Date: Thu, 24 Nov 2022 00:00:58 +0100

* gnu/packages/python-web.scm (whoogle-search): New variable.
---
 gnu/packages/python-web.scm | 56 +++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 905d79886f..0178c21ee8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -4743,6 +4743,62 @@ (define-public python-google-api-client
     (description "Python client library for Google's discovery based APIs")
     (license license:asl2.0)))
 
+(define-public whoogle-search
+  (package
+    (name "whoogle-search")
+    (version "0.8.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "whoogle-search" version))
+              (sha256
+               (base32
+                "0h8cl9bkd3vx17kbvcnmc8cy6pc29lxr0drxm84kj37ka788cj2g"))))
+    (build-system python-build-system)
+    (arguments
+     (list #:tests? #f)) ;needs network
+    (propagated-inputs (list python-attrs
+                             python-beautifulsoup4
+                             python-cachelib
+                             python-certifi
+                             python-cffi
+                             python-brotli
+                             python-chardet
+                             python-click
+                             python-cryptography
+                             python-cssutils
+                             python-defusedxml
+                             python-flask
+                             python-flask-session
+                             python-idna
+                             python-itsdangerous
+                             python-jinja2
+                             python-markupsafe
+                             python-more-itertools
+                             python-packaging
+                             python-pluggy
+                             python-py
+                             python-pycodestyle
+                             python-pycparser
+                             python-pyopenssl
+                             python-pyparsing
+                             python-pysocks
+                             python-dateutil
+                             python-requests
+                             python-soupsieve
+                             python-stem
+                             python-urllib3
+                             python-waitress
+                             python-wcwidth
+                             python-werkzeug
+                             python-dotenv))
+    (home-page "https://github.com/benbusby/whoogle-search")
+    (synopsis "Self-hosted, ad-free, privacy-respecting metasearch engine")
+    (description
+     "Get Google results, but without any ads, javascript, AMP links,
+cookies, or IP address tracking.  Quick and simple to implement as a primary search
+engine replacement on both desktop and mobile.")
+    (license license:expat)))
+
 (define-public python-hawkauthlib
   (package
     (name "python-hawkauthlib")
-- 
2.38.1

-- 
Best regards,
conses