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 EJNNBUlw6mIbXAEAbAwnHQ (envelope-from ) for ; Wed, 03 Aug 2022 14:55:37 +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 +KhKBUlw6mKKNgEAauVa8A (envelope-from ) for ; Wed, 03 Aug 2022 14:55:37 +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 C95EF396FC for ; Wed, 3 Aug 2022 14:55:36 +0200 (CEST) Received: from localhost ([::1]:47270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJDuR-0001Hx-Uw for larch@yhetil.org; Wed, 03 Aug 2022 08:55:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36084) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJDWu-0008Sb-5r for guix-patches@gnu.org; Wed, 03 Aug 2022 08:31:16 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:56974) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJDWt-0001yG-SQ for guix-patches@gnu.org; Wed, 03 Aug 2022 08:31:15 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJDWt-0006E3-OL for guix-patches@gnu.org; Wed, 03 Aug 2022 08:31:15 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v5 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:31:15 +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.165952985722861 (code B ref 55903); Wed, 03 Aug 2022 12:31:15 +0000 Received: (at 55903) by debbugs.gnu.org; 3 Aug 2022 12:30:57 +0000 Received: from localhost ([127.0.0.1]:46669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJDWa-0005vg-FO for submit@debbugs.gnu.org; Wed, 03 Aug 2022 08:30:56 -0400 Received: from knopi.disroot.org ([178.21.23.139]:38762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJDWM-0005Ow-15 for 55903@debbugs.gnu.org; Wed, 03 Aug 2022 08:30:42 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id D5A2740DFF; Wed, 3 Aug 2022 14:30:41 +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 h3u4fa9xF-gS; Wed, 3 Aug 2022 14:30:40 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1659529820; bh=t/+Rg4SeERyV1QV8brroUst4+mQwcXHqjR5OU3PAbd0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=X7q84dZAr3Q8KCQZ+0LU/Cnj9ljSPOhfH6V0QwJE7IcrhO+TVRuKEYkMAqEcEH0aX WyHu6OejyGNeU+hPK/V0J/PqKZzScwJX2OiPWQOwwJrwop0ZBNSoBKrQL0sLecSrV6 XErmG4cXhGe7PA3LuKY6TaFilpT45JX5rB8uXN3ybVwI21BbWUfOgKA2LK79An/op+ DHCXTxZquJzybvPbIU8T0A1F5Y4JD6nrTYLwZIByHj8q9lgzJzB8XTR4kw9OFNNile PSYLcbI9/0GgqBVHTRCTFDQz2MRzJhxdRds+0n95GcB605wUSxnLhViwtT5UjkedHu +MqqYsKubYy4g== Date: Wed, 3 Aug 2022 13:29:55 +0100 Message-Id: <20220803123006.5852-30-paren@disroot.org> In-Reply-To: <20220803123006.5852-1-paren@disroot.org> References: <20220803123006.5852-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=1659531336; 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=VfsoR2Nu70wLgb0cOFhMofNbbVQLZI9w3fZYI1sYksbpOXcBGjCobdMb5cy/MLsqnpv9du xgD/yqmivCk7DKntUFX8DAWVpNjm9SWuzSzc2xw1IXqljUVZqXLLB4WpJYla+b+mCLPsCU xD8kVvG7Xh/HL0WEVZF2b1E2Zp6cMt44m8gbs0OOKFsJK/NdTgEvMjoDcyILDF9NHDcHlD s9e+HIBNtWZqIYVkfr5Bw6eqaeq56AJxBU1N9fmgjfNueQXixPfiemXdNcUSIWgUlyBLIr pXOC710r1cE/rBqtCssFPeHqoBpftQwNCD6DhU4+hWc5Arh45fHYZDzo9dKqiA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1659531336; a=rsa-sha256; cv=none; b=L0FgTmhskXfksF3/piuU17Wb9z29e/Xa5w5IUJMWXbCDWM6nQSIlsRQe9lHNmJMvIQSbbh LjuWMpsOayWr2Upc2d0Rr7s/X2SLxMM65rdikKN3RZmJFdXbMdJCC3yICeqVD0tK4v9cCf fRGBgQNwwHNB5ErPbNpzo10vfel5QwDoKAU3d8X4qAdvRIE+CQyVJQMMEOIxdrG5g8396F dheHsKxttorjui41DrgeyTylWKwQ7LGf65oEx5LkVs+lvEM42XpyfxKv4l9CELB1Kdybhl /l4PmRGOggdLI744g4Ec+oUsv0y8yZdTGrOUNqsKgMCl0Q0lPTJKVlmJHTYdLA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=X7q84dZA; 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.41 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=X7q84dZA; 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: C95EF396FC X-Spam-Score: -2.41 X-Migadu-Scanner: scn1.migadu.com X-TUID: nzYwpVV81qZ6 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