guix-commits
[Top][All Lists]
Advanced

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

33/45: gnu: Add rust-strsim-0.8.


From: guix-commits
Subject: 33/45: gnu: Add rust-strsim-0.8.
Date: Wed, 23 Oct 2019 03:49:16 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 10eeb2362c1e84aac53b79d6bcd19e156d7d2b5d
Author: Efraim Flashner <address@hidden>
Date:   Wed Oct 23 10:04:29 2019 +0300

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

diff --git a/gnu/packages/rust-cbindgen.scm b/gnu/packages/rust-cbindgen.scm
index dacc33c..3f76eaa 100644
--- a/gnu/packages/rust-cbindgen.scm
+++ b/gnu/packages/rust-cbindgen.scm
@@ -690,3 +690,24 @@ for Windows.")
      "This package provides a JSON serialization file format.")
     (properties '((hidden? . #t)))
     (license (list license:expat license:asl2.0))))
+
+(define rust-strsim-0.8
+  (package
+    (name "rust-strsim")
+    (version "0.8.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "strsim" version))
+        (file-name (string-append name "-" version ".crate"))
+        (sha256
+         (base32
+          "0sjsm7hrvjdifz661pjxq5w4hf190hx53fra8dfvamacvff139cf"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/dguo/strsim-rs";)
+    (synopsis "Rust implementations of string similarity metrics")
+    (description "This crate includes implementations of string similarity
+metrics.  It includes Hamming, Levenshtein, OSA, Damerau-Levenshtein, Jaro,
+and Jaro-Winkler.")
+    (properties '((hidden? . #t)))
+    (license license:expat)))



reply via email to

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