From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sJatHxZm6mL3SQAAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 14:12:06 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id QJKVHxZm6mL5QwAAauVa8A (envelope-from ) for ; Wed, 03 Aug 2022 14:12:06 +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 580F5382E3 for ; Wed, 3 Aug 2022 14:12:06 +0200 (CEST) Received: from localhost ([::1]:42110 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJDEL-000655-G1 for larch@yhetil.org; Wed, 03 Aug 2022 08:12:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58594) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJD9o-0008HE-2t for guix-patches@gnu.org; Wed, 03 Aug 2022 08:07:26 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56759) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJD9n-0003Fx-Pi for guix-patches@gnu.org; Wed, 03 Aug 2022 08:07:23 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJD9n-0003CI-L5 for guix-patches@gnu.org; Wed, 03 Aug 2022 08:07:23 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#56938] [PATCH 30/41] gnu: Add go-github-com-lithammer-fuzzysearch. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 03 Aug 2022 12:07:23 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 56938 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 56938@debbugs.gnu.org Cc: "\(unmatched-parenthesis" X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165952842411822 (code B ref -1); Wed, 03 Aug 2022 12:07:23 +0000 Received: (at submit) by debbugs.gnu.org; 3 Aug 2022 12:07:04 +0000 Received: from localhost ([127.0.0.1]:46433 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJD9U-00034U-9p for submit@debbugs.gnu.org; Wed, 03 Aug 2022 08:07:04 -0400 Received: from lists.gnu.org ([209.51.188.17]:49328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJD9O-00031i-Cc for submit@debbugs.gnu.org; Wed, 03 Aug 2022 08:06:59 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58390) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJD9O-00082O-7I for guix-patches@gnu.org; Wed, 03 Aug 2022 08:06:58 -0400 Received: from knopi.disroot.org ([178.21.23.139]:49216) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJD9K-00035v-1t for guix-patches@gnu.org; Wed, 03 Aug 2022 08:06:56 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 9EF2541ADC; Wed, 3 Aug 2022 14:06:40 +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 UTF8SMTP id UhZo1xdMnm4i; Wed, 3 Aug 2022 14:06:39 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659528292; bh=t/+Rg4SeERyV1QV8brroUst4+mQwcXHqjR5OU3PAbd0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=lHNQ6hO0gXIa9luHZ6myUVNHL/y8HlwGR50OmCzxoGMVSbojw3pmQavvrCxmkWpvs 0F9TX6y3K94orMS3Z1ebE7mNfCph7myo5suDF9Sg7P80nQpGUBmMyQ+00G1FXENuqC +vgnZJfQgBs8Z9PzE9g/sUB4OH4MxuHbJ2BCGtcqWPTxZ8LcPIn9rsQM2Z53enj2n/ b77mQUXvb4R/plxtE8vot80MvHBF8YIA1lGf/1HgerCGRhipAdgnmEZtVnbUL9Sb/X FO+FXdpTmlTzEJRlQtJq5OhYlDgzqVd279clYwFs6hYcrGFs7UkEgR4xXt46oMDcd9 3byINWtKiavcQ== Date: Wed, 3 Aug 2022 13:04:28 +0100 Message-Id: <20220803120439.5108-30-paren@disroot.org> In-Reply-To: <20220803120439.5108-1-paren@disroot.org> References: <20220803120439.5108-1-paren@disroot.org> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=178.21.23.139; envelope-from=paren@disroot.org; helo=knopi.disroot.org X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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+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=1659528726; 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=/HHAcJJuuy2tuK705hJvcpTDYy8qlHS9P6SbAd+n9fE=; b=UNC96N9oeL8cGvw9EJPyXqjGqZOKQ3OnxOgExFaMujxlQiI/nZ3YpmBroZidBwXr89L6L4 XoQ3Mt5DmVzcccfSveca7x5a8qGzdrUL7WoZdXoh5h5sCFshIbmJ1x08Kupwx5qsNO1t3b cnrjpgxWZGCypzxOeGWqOlOSU7x3+WFSzkXsdGJxO3gM7uMNWQbKy47t89nfJ/ksNZrY8C aUnDIK2VFktYHG3INmZHmtQHcm94wo5LA25J0gKu669d3eJ00arDpz3gCVOtORMhnpj/lz sDWin3mjBnPX+e2v5IuAgkyiAl6Mlq+sWN7Q49pG+sLXIkoeVHGBOcCKjRTvog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659528726; a=rsa-sha256; cv=none; b=rAg8Caxg1nmWDWQO+3qfkbMGm0F4dLPld9JnGHjwM6uJI70jVksD2a/NjHZktC1XfWk+F2 yw3XSbi0lZrlxX8+A/1t8eGsb1szkctn3GnzeMjEAMPJyOZQvk2hCCqwcLaaW1AsIy8fNP RrN2k77HY+uSfzzQmFlbIRWbXB9qnAA1vWZYNGGQPYn42xYBtjT7v2o8SH+kH0Benn7Z56 pQ3VpkHNTGEujF9QQ3huZhfuD4wxpgyece6fhJFO8VMTXNHkkDOrOxCZ+tucf07HCwftij ueYxjNcydhX6MfPascEm+jjfEqNmydxN+OhvLC9EbxtHd8oHiN+iV7crOWKH+Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=lHNQ6hO0; 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: -2.61 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=lHNQ6hO0; 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: 580F5382E3 X-Spam-Score: -2.61 X-Migadu-Scanner: scn1.migadu.com X-TUID: To+IaZkVAsLU 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 bcd73c3c1b..fd2335b61a 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10691,3 +10691,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.37.1