[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/06: gnu: Add ghc-edit-distance.
From: |
Ricardo Wurmus |
Subject: |
04/06: gnu: Add ghc-edit-distance. |
Date: |
Wed, 16 Aug 2017 10:53:29 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit be04f8020a4208a82c7780ac2013f64b88dc8aee
Author: Alex Vong <address@hidden>
Date: Sun Aug 6 23:41:38 2017 +0800
gnu: Add ghc-edit-distance.
* gnu/packages/haskell.scm (ghc-edit-distance): New variable.
Signed-off-by: Ricardo Wurmus <address@hidden>
---
gnu/packages/haskell.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 59d19dd..cdd47b3 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -6099,6 +6099,31 @@ supports for high level forms of ASN1 (BER, and DER).")
when ASN1 pattern matching is not convenient.")
(license license:bsd-3)))
+(define-public ghc-edit-distance
+ (package
+ (name "ghc-edit-distance")
+ (version "0.2.2.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/edit-distance"
+ "/edit-distance-" version ".tar.gz"))
+ (sha256
+ (base32 "0jkca97zyv23yyilp3jydcrzxqhyk27swhzh82llvban5zp8b21y"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-random" ,ghc-random)
+ ("ghc-test-framework" ,ghc-test-framework)
+ ("ghc-quickcheck" ,ghc-quickcheck)
+ ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2)))
+ (home-page "https://github.com/phadej/edit-distance")
+ (synopsis "Levenshtein and restricted Damerau-Levenshtein edit distances")
+ (description
+ "This package provides optimized functions to determine the edit
+distances for fuzzy matching, including Levenshtein and restricted
+Damerau-Levenshtein algorithms.")
+ (license license:bsd-3)))
+
(define-public ghc-tasty-kat
(package
(name "ghc-tasty-kat")
- branch master updated (2f7966c -> 96f23b6), Ricardo Wurmus, 2017/08/16
- 02/06: gnu: Add ghc-strict., Ricardo Wurmus, 2017/08/16
- 03/06: gnu: Add ghc-stmonadtrans., Ricardo Wurmus, 2017/08/16
- 06/06: gnu: Add ghc-equivalence., Ricardo Wurmus, 2017/08/16
- 05/06: gnu: Add ghc-boxes., Ricardo Wurmus, 2017/08/16
- 01/06: gnu: cpphs: Update to 1.20.8., Ricardo Wurmus, 2017/08/16
- 04/06: gnu: Add ghc-edit-distance.,
Ricardo Wurmus <=