From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mIqHCgV/H2M9CQEAbAwnHQ (envelope-from ) for ; Mon, 12 Sep 2022 20:48:37 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UJyGCgV/H2M6ggEAauVa8A (envelope-from ) for ; Mon, 12 Sep 2022 20:48: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 D8B7E10AB6 for ; Mon, 12 Sep 2022 20:48:36 +0200 (CEST) Received: from localhost ([::1]:43912 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXoU0-0005kB-2i for larch@yhetil.org; Mon, 12 Sep 2022 14:48:36 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53308) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXoRX-0002IR-D7 for guix-patches@gnu.org; Mon, 12 Sep 2022 14:46:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59295) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXoRW-0002Xd-Pp for guix-patches@gnu.org; Mon, 12 Sep 2022 14:46:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXoRW-0007m4-LK for guix-patches@gnu.org; Mon, 12 Sep 2022 14:46:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55903] [PATCH v10 29/41] gnu: Add go-github-com-lithammer-fuzzysearch. Resent-From: "(" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 12 Sep 2022 18:46:02 +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.166300831629734 (code B ref 55903); Mon, 12 Sep 2022 18:46:02 +0000 Received: (at 55903) by debbugs.gnu.org; 12 Sep 2022 18:45:16 +0000 Received: from localhost ([127.0.0.1]:47967 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXoQm-0007jR-A6 for submit@debbugs.gnu.org; Mon, 12 Sep 2022 14:45:16 -0400 Received: from knopi.disroot.org ([178.21.23.139]:41628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXoQF-0007cZ-Au for 55903@debbugs.gnu.org; Mon, 12 Sep 2022 14:44:43 -0400 Received: from localhost (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id CD9AA49FA9; Mon, 12 Sep 2022 20:44:42 +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 5vtmOxNbgwxL; Mon, 12 Sep 2022 20:44:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1663008233; bh=/g2vX1l4UAaz4OKEw09EqHw0hO16+75xgclOfBmHGh4=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=SSBm4a5Mpxb2GgWZptJsa7vGi3TaxXZDMzlWISigvJ+oZoh3hj6v3/uqyqLo8cEuE AA0lCUlQwtbf2rCxVpU03QQpydYKvr1LpTfiKKD3DvJ1ZCqxxqUA70A1BmBsT6DHju P3X8W8JfYiQgItphBc1iCMZKtX2TZgpot1I4w4LbWp17+GHVESFFKrAc2WusBIUj1q YIiX1pZNbheYQ1F7XFw5H8a7ro6J+Os1BqiwBllOSwa/kt8Ya4MXWjCewnijrpKr2t mpi1HZvVRntgclzo8ma92R9AJZ6JZlAuSembKJbKF5soyelEHBjl9kx2M+V+dFKqvy iEJtkFG772SpQ== Date: Mon, 12 Sep 2022 19:43:28 +0100 Message-Id: <20220912184340.11292-29-paren@disroot.org> In-Reply-To: <20220912184340.11292-1-paren@disroot.org> References: <20220912184340.11292-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=1663008516; 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=0jsiYJIdsqAZo1DY2CgHp1lxNPI3YAw67zyN8mBvPcg=; b=FDvbb8jmnkIHhDQSdJJ0S/PvKn1sTRkwyYK+ffQvh/Zm7sqC+udx8B+REcQUHD2Fhs9j55 NMFFlGDJOG79ayJRuXPpIoX9Xv1JJm/6tus4BKzLcJp7rmAcVtjMA2sfDB63VLfs1KOat3 fx0+ErT3U7XHkBCrZ0aIX4iDU3aXW28ee/csZ+obsFUBMrHjyruHPW9PnT3Hfc0ZhwOiOY XVhHIGxGz4cpKfFwY5DnqBX98zURBNPWK8BFqnUx6zjKqbjHupGpiBqBlXXNkiPXDZ/k0z FQIgPNbhkMT26xUH57NgE74/EyIP6aEb5ygwSE3jZjza7ibMCB8/Q2yp0Krprw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663008516; a=rsa-sha256; cv=none; b=KIQ7upxddEJn+lLZFauh9xEYtvivXVTQ8RDD8xXqEzkXPLmjyHP1ChU0S//BedEAIiPGNY l+Cnn0N+kyhTRqmmQKdGhQ77J8qASlCe6wxpmddK4XdtF++zPxfeDRt7gZ+vfwdSdfryh3 AMxjKsjdCjTpKAG52uJ0SGmk5PkFtgcgenhKx5hcpsYesepwrmQCzmIL0cfq8CfLnVHOdE FockhP1p2VdOYCQeUclvmZtIkQD8/0nqYVkT1hWXjCyPsva04DnntEqfTDVWLEIE07fcSz jdoK7g3raKt+sx20/KU1lT1/qQReX8ytznO05AxpPyZHmvESHFuGDT1tCmjyUQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=SSBm4a5M; 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: -0.81 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=disroot.org header.s=mail header.b=SSBm4a5M; 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: D8B7E10AB6 X-Spam-Score: -0.81 X-Migadu-Scanner: scn1.migadu.com X-TUID: DRagfoB6Rw0n 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 557ae30b08..48bf05c695 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -10722,3 +10722,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.3