guix-commits
[Top][All Lists]
Advanced

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

26/66: gnu: Add ruby-jaro-winkler.


From: guix-commits
Subject: 26/66: gnu: Add ruby-jaro-winkler.
Date: Thu, 14 Feb 2019 16:38:35 -0500 (EST)

cbaines pushed a commit to branch master
in repository guix.

commit 433f10b5d2d7714440e92b7f563fb51dea7779f4
Author: Christopher Baines <address@hidden>
Date:   Sun Jan 27 16:43:32 2019 +0000

    gnu: Add ruby-jaro-winkler.
    
    Required for ruby-rubocop.
    
    * gnu/packages/ruby.scm (ruby-jaro-winkler): New variable.
---
 gnu/packages/ruby.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm
index 06f6fff..7314798 100644
--- a/gnu/packages/ruby.scm
+++ b/gnu/packages/ruby.scm
@@ -3352,6 +3352,29 @@ when working with Ruby code.")
     ;; There is no mention of the "or later" clause.
     (license license:gpl2)))
 
+(define-public ruby-jaro-winkler
+  (package
+    (name "ruby-jaro-winkler")
+    (version "1.5.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (rubygems-uri "jaro_winkler" version))
+       (sha256
+        (base32
+         "1zz27z88qznix4r65gd9h56gl177snlfpgv10b0s69vi8qpl909l"))))
+    (build-system ruby-build-system)
+    (arguments
+     '(;; No included tests
+       #:tests? #f))
+    (synopsis "Ruby implementation of Jaro-Winkler distance algorithm")
+    (description
+     "@code{jaro_winkler} is an implementation of Jaro-Winkler distance
+algorithm.  It is written as a C extension and will fallback to a pure Ruby
+implementation on platforms where this is unsupported.")
+    (home-page "https://github.com/tonytonyjan/jaro_winkler";)
+    (license license:expat)))
+
 (define-public ruby-json
   (package
     (name "ruby-json")



reply via email to

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