guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

07/13: gnu: Add go-gitlab-com-ambrevar-damerau.


From: Pierre Neidhardt
Subject: 07/13: gnu: Add go-gitlab-com-ambrevar-damerau.
Date: Sun, 22 Jul 2018 16:55:23 -0400 (EDT)

ambrevar pushed a commit to branch master
in repository guix.

commit 54b83f0e899227e6bf584fbe69cb9b65fee0de2e
Author: Pierre Neidhardt <address@hidden>
Date:   Fri Jun 22 18:28:20 2018 +0200

    gnu: Add go-gitlab-com-ambrevar-damerau.
    
    * 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 96e40bb..8ad2ec9 100644
--- a/gnu/packages/golang.scm
+++ b/gnu/packages/golang.scm
@@ -2171,3 +2171,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:expat))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]