From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fWQpv-0007sk-JU for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fWQps-0008QB-9f for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:52656) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fWQps-0008Q7-5p for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fWQps-0008Sg-0f for guix-patches@gnu.org; Fri, 22 Jun 2018 14:31:04 -0400 Subject: [bug#31939] [PATCH 07/13] gnu: Add go-gitlab-com-ambrevar-damerau. Resent-Message-ID: From: Pierre Neidhardt Date: Fri, 22 Jun 2018 20:30:25 +0200 Message-Id: <20180622183031.3044-6-ambrevar@gmail.com> In-Reply-To: <20180622183031.3044-1-ambrevar@gmail.com> References: <20180622183031.3044-1-ambrevar@gmail.com> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31939@debbugs.gnu.org * gnu/packages/golang.scm (go-gitlab-com-ambrevar-damerau): New variable. --- gnu/packages/golang.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index f5c9214e5..1ae59fee1 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1987,3 +1987,31 @@ anyways and Go regexps are more powerful.") when provided with a valid relative path / alias path, it will return you with a string of its real absolute path in the system.") (license license:bsd-style)))) + +(define-public go-gitlab-com-ambrevar-damerau + (let ((commit "883829e1f25fad54015772ea663e69017cf22352") + (revision "0")) + (package + (name "go-gitlab-com-ambrevar-damerau") + (version (git-version "0.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url + "https://gitlab.com/ambrevar/damerau") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1b9p8fypc914ij1afn6ir346zsgfqrc5mqc1k3d53n4snypq27qv")))) + (build-system go-build-system) + (arguments + `(#:import-path "gitlab.com/ambrevar/damerau")) + (home-page "https://gitlab.com/ambrevar/damerau") + (synopsis "Damerau-Levenshtein distance for Golang") + (description "This is a spelling corrector implementing the +Damerau-Levenshtein distance. Takes a string value input from the user. +Looks for an identical word on a list of words, if none is found, look for a +similar word.") + (license license:bsd-style)))) -- 2.17.1