From patchwork Wed Nov 23 23:00:58 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Miguel_=C3=81ngel_Moreno?= X-Patchwork-Id: 44790 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 17F5C27BBED; Wed, 23 Nov 2022 23:02:29 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 4957627BBE9 for ; Wed, 23 Nov 2022 23:02:28 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oxykm-0008D0-PO; Wed, 23 Nov 2022 18:02:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxykl-0008Cr-89 for guix-patches@gnu.org; Wed, 23 Nov 2022 18:02:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oxykk-0004eU-S9 for guix-patches@gnu.org; Wed, 23 Nov 2022 18:02:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oxykk-0004xp-Nk for guix-patches@gnu.org; Wed, 23 Nov 2022 18:02:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59526] [PATCH] gnu: Add whoogle-search. Resent-From: conses Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 23 Nov 2022 23:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59526 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59526@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166924447419016 (code B ref -1); Wed, 23 Nov 2022 23:02:02 +0000 Received: (at submit) by debbugs.gnu.org; 23 Nov 2022 23:01:14 +0000 Received: from localhost ([127.0.0.1]:56541 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxyjy-0004wd-Gz for submit@debbugs.gnu.org; Wed, 23 Nov 2022 18:01:14 -0500 Received: from lists.gnu.org ([209.51.188.17]:43746) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oxyjs-0004wS-R4 for submit@debbugs.gnu.org; Wed, 23 Nov 2022 18:01:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxyjr-00088Y-H6 for guix-patches@gnu.org; Wed, 23 Nov 2022 18:01:08 -0500 Received: from relay11.mail.gandi.net ([2001:4b98:dc4:8::231]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oxyjm-0004Xa-DX for guix-patches@gnu.org; Wed, 23 Nov 2022 18:01:06 -0500 Received: (Authenticated sender: contact@conses.eu) by mail.gandi.net (Postfix) with ESMTPSA id 8DB0E10000A for ; Wed, 23 Nov 2022 23:00:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=conses.eu; s=gm1; t=1669244459; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=4QaJeN46NNTJhRgsXB0FzyCgSv9tMha+Ac0I50YAgtU=; b=JWtLd3a7udp/YrHLczWX/p/GE4GDNZfvyQhbIlJRtFnJF6uniTiHdj4gqCyQ0ZtPcPygbd Pv4vcV04Rvw7JoI39VFVFYpfip2wmndfL0fDU5jQvLCmoxv0yHg9wlEFnRy/pdYtv8BJzw zPIxe9dV9+JQKSH8zAj7tQizhLFg1T/wLAsCP24ys1Tj28UQQNOf7M3s5zAe+xO+F00Fbc itAIT+S5L1tPpkBFCA1+qoE4ginRVFUGOEJDoVV/+DaZJVRNtN4mXc0V2VeVQB+tQGPKDo AqhI3ipFUp7Jp25wGAN+qP+0hxrgjJkR1LRuJdbA6LjcmhPqIKsR1Toe5q6VVA== From: conses Date: Thu, 24 Nov 2022 00:00:58 +0100 Message-ID: <86ilj59syd.fsf@conses.eu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::231; envelope-from=contact@conses.eu; helo=relay11.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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")