summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2021-06-08 17:42:37 +0300
committerEfraim Flashner <efraim@flashner.co.il>2021-06-08 17:57:26 +0300
commit50255943b178015ac176bc073445681eac299550 (patch)
treed29770a45c868a512d9111e93dcc0e8eb909464a /gnu/packages
parent6ee82f633d094adbd1cd1cc4800275622ff95ba0 (diff)
downloadguix-50255943b178015ac176bc073445681eac299550.tar.gz
gnu: Add julia-stringdistances.
* gnu/packages/julia-xyz.scm (julia-stringdistances): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/julia-xyz.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/julia-xyz.scm b/gnu/packages/julia-xyz.scm
index e9cf7a7e17..03f7cc7cf8 100644
--- a/gnu/packages/julia-xyz.scm
+++ b/gnu/packages/julia-xyz.scm
@@ -2626,6 +2626,30 @@ functions, such as scalar statistics, high-order moment computation, counting,
 ranking, covariances, sampling, and empirical density estimation.")
     (license license:expat)))
 
+(define-public julia-stringdistances
+  (package
+    (name "julia-stringdistances")
+    (version "0.10.0")
+    (source
+      (origin
+        (method git-fetch)
+        (uri (git-reference
+               (url "https://github.com/matthieugomez/StringDistances.jl")
+               (commit (string-append "v" version))))
+        (file-name (git-file-name name version))
+        (sha256
+         (base32 "0n5707wplbibzhhv1xmshvc025d7xk6mnikclc3hvq5cdc0gy9f7"))))
+    (build-system julia-build-system)
+    (propagated-inputs
+     `(("julia-distances" ,julia-distances)))
+    (home-page "https://github.com/matthieugomez/StringDistances.jl")
+    (synopsis "String Distances in Julia")
+    (description "This package provides string distances in Julia.  Distances
+are defined for @code{AbstractStrings}, and any iterator that define
+@code{length()}.  The package also defines Distance \"modifiers\" that can be
+applied to any distance.")
+    (license license:expat)))
+
 (define-public julia-suppressor
   (package
     (name "julia-suppressor")