guix-devel
[Top][All Lists]
Advanced

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

[PATCH 50/86] gnu: Add rust-strsim.


From: ng0
Subject: [PATCH 50/86] gnu: Add rust-strsim.
Date: Tue, 3 Jan 2017 23:36:06 +0000

* gnu/packages/rust.scm (rust-strsim): New variable.
---
 gnu/packages/rust.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 98bbe888a..08d168143 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -1387,3 +1387,24 @@ does not require unstable language features.")
      "@code{compiletest-rs} provides the compiletest utility from the
 Rust compiler as a standalone testing harness.")
     (license (list license:asl2.0 license:expat))))
+
+(define-public rust-strsim
+  (package
+    (name "rust-strsim")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strsim" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "151ngha649cyybr3j50qg331b206zrinxqz7fzw1ra8r0n0mrldl"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/dguo/strsim-rs";)
+    (synopsis "Implementations of string similarity metrics")
+    (description
+     "@code{strsim} provides implementations of string similarity metrics.
+Includes Hamming, Levenshtein, Damerau-Levenshtein, Jaro, and Jaro-Winkler.")
+    (license license:expat)))
-- 
2.11.0




reply via email to

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