From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2GhlDutjxWLSvwAAbAwnHQ (envelope-from ) for ; Wed, 06 Jul 2022 12:28:59 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id KBZADutjxWIqUAAAauVa8A (envelope-from ) for ; Wed, 06 Jul 2022 12:28:59 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EF318202F5 for ; Wed, 6 Jul 2022 12:28:58 +0200 (CEST) Received: from localhost ([::1]:59570 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o92HB-0001xG-Tz for larch@yhetil.org; Wed, 06 Jul 2022 06:28:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53174) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o928r-00020N-Ch for guix-patches@gnu.org; Wed, 06 Jul 2022 06:20:21 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:58657) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o928b-0007Ju-B5 for guix-patches@gnu.org; Wed, 06 Jul 2022 06:20:17 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o928b-0002eM-7r for guix-patches@gnu.org; Wed, 06 Jul 2022 06:20:05 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v4 30/41] gnu: Add go-github-com-lithammer-fuzzysearch. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 06 Jul 2022 10:20:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 55903 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55903@debbugs.gnu.org Cc: "\(unmatched-parenthesis" Received: via spool by 55903-submit@debbugs.gnu.org id=B55903.165710276410012 (code B ref 55903); Wed, 06 Jul 2022 10:20:05 +0000 Received: (at 55903) by debbugs.gnu.org; 6 Jul 2022 10:19:24 +0000 Received: from localhost ([127.0.0.1]:52525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o927w-0002bK-DN for submit@debbugs.gnu.org; Wed, 06 Jul 2022 06:19:24 -0400 Received: from knopi.disroot.org ([178.21.23.139]:45428) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o927k-0002Y3-TX for 55903@debbugs.gnu.org; Wed, 06 Jul 2022 06:19:13 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id BB6A141D37; Wed, 6 Jul 2022 12:19:12 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from knopi.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4OCwuRRYuPGu; Wed, 6 Jul 2022 12:19:11 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1657102738; bh=FIxbz8cSmufq+ynuwJcg0is80k3RU/Y4/BUmqBqaSKk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Wf7diuicMNJavV8Aouq9QX1lqOFxgtzIc2gtX3ZKb34j7DIaPBHZOzstliSN0UCfb SILs1gC2ZXY2aYA+aB90qUa0mBcK6qAwhUSFDqPvCDQuuzRC70AGxR7MXSrEIVz7ih Q+tPasqjVWuboXRcJhayKf1vE3OHPZ5CxCoCFxzzjahZWM8bX1B9W6fc/o6QTYZP23 kXYF5uFq+HsWtYu7uIaUg1Ya+F8FMf0arLLOeKPx8iAzUbZe9oozJooDc/UKcBG2V0 TU4fALfGx6BfaJkcoB/dRsZaSKI/lUG4bPb33QSxUz5Sl2rjeFTjGeBymogJDTUlSx FlqbHw0UG2iuw== Date: Wed, 6 Jul 2022 11:18:19 +0100 Message-Id: <20220706101830.12269-30-paren@disroot.org> In-Reply-To: <20220706101830.12269-1-paren@disroot.org> References: <20220706101830.12269-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: "Guix-patches" Reply-to: "\(" X-ACL-Warn: , "\( via Guix-patches" From: "\( via Guix-patches" via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1657103339; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=7ylR7KscdcvbrlompUphXcVilTbNF8puF/bPHCKPLAY=; b=gdIOM43DWhq6ul09IDZsi//rwO5m+bianpsOUZbkyak0ABj1TS/Ry5Xx2Etkq4jRMrLCkQ j4GR8GNJ1ihiUAY1QlKRuq/rC0oVv9UFuVrha/FD/l4qxHgCPVa/mGAaEFSUkEASPNk65r rFQsakmThE+GRDx56BbV3LKvZwti4GxXTboyrK/d6qfzYkmc+4J18LOiGQqkqKgnbZb7lv KcXEIlC8yuQ9cScIftVHwn8afkUu0hUN6CDhL7D9FJF2DAkSJIOp+bUkbywLoeuatEneZ8 UXYUipdg/J1gkCwL0hjbcSru/MyXOJ8MXZbCXZsDX775XEQG/7zAjXObI9T98w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1657103339; a=rsa-sha256; cv=none; b=UVsq3BMt49gkR7MDc3PeNhReSpphDiKX1s87WiXvSp1dO7nmdMla+uokk+aaMh7cwsKQcf F1P23Vf/e2DIIlrVS35d4RcGJVaKGnXr3qv60/2xLMc/E6bt87lb9kY1ZF+39fC4ORn9TJ via0DIqMQrEO/ItVJu5aX272dsyh5t7Uv26FTok23bQ2YTJ3DiJb0+8AB7hn/giZTuCwY8 OkpjmNJo+wkyhoopsrJAYijkQkmNGzNo87N33bfuHQgn0//CsCi3Tf0HCiLq3bX9gQv5n9 zA5bziZKcclXx/vCcfWKNaIR8rVcnkrOiQmbV+Z80QOy3LUUkwrwPNasLKaqbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Wf7diuic; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.55 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=Wf7diuic; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: EF318202F5 X-Spam-Score: -3.55 X-Migadu-Scanner: scn0.migadu.com X-TUID: GThUs2NtKGlS From: "(unmatched-parenthesis" * gnu/packages/golang.scm (go-github-com-lithammer-fuzzysearch): New variable. --- gnu/packages/golang.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index a63fe38952..6bc3170fc2 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10672,3 +10672,32 @@ (define-public go-git-sr-ht--sircmpwn-getopt "The getopt package is a POSIX-compatible implementation of getopt(3) for Go.") (license license:bsd-3))) + +(define-public go-github-com-lithammer-fuzzysearch + (package + (name "go-github-com-lithammer-fuzzysearch") + (version "1.1.5") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/lithammer/fuzzysearch") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b036sm42cf64diwlqhx24vxy6g5afrmfbdfyqhpg8zrii3lpwns")))) + (build-system go-build-system) + (propagated-inputs (list go-golang-org-x-text)) + (arguments + (list #:import-path "github.com/lithammer/fuzzysearch" + #:tests? #f ; Source-only package. + #:phases + #~(modify-phases %standard-phases + ;; Source-only package. + (delete 'build)))) + (home-page "https://github.com/lithammer/fuzzysearch") + (synopsis "Tiny and fast fuzzy search in Go") + (description + "A speedy fuzzy matching package for Go inspired by the JavaScript +library bevacqua/fuzzysearch.") + (license license:expat))) -- 2.36.1