summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 09:07:52 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:49 +0200
commitd33dd0380b22e7434f33389c10b0f9e39d13be94 (patch)
treef1dda029bdbaddca9ad771a0caba999e16534ddb /gnu
parent9b577b3b0aa9ff7eb570c9ff76c93b2d6a997555 (diff)
downloadguix-d33dd0380b22e7434f33389c10b0f9e39d13be94.tar.gz
gnu: Add rust-levenshtein-1.
* gnu/packages/crates-io.scm (rust-levenshtein-1): New variable.

Change-Id: I111dcc2d20ebbe6073999088dd5d013f057c0f75
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0720fa0385..72f544698c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -41406,6 +41406,24 @@ requires non-const function calls to be computed.")
 sending emails from Rust applications.")
     (license license:expat)))
 
+(define-public rust-levenshtein-1
+  (package
+    (name "rust-levenshtein")
+    (version "1.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "levenshtein" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0q0pa1prsjk3v28xkas5rf30ng9816mxpr2n3xls65dmgawss4yv"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/wooorm/levenshtein-rs")
+    (synopsis "Levenshtein algorithm")
+    (description
+     "This crate provides an implementation of the levenshtein algorithm in rust.")
+    (license license:expat)))
+
 (define-public rust-lewton-0.10
   (package
     (name "rust-lewton")