guix-patches
[Top][All Lists]
Advanced

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

[bug#55005] [PATCH 10/13] gnu: Add ghc-fuzzy


From: Thomas Albers
Subject: [bug#55005] [PATCH 10/13] gnu: Add ghc-fuzzy
Date: Mon, 18 Apr 2022 20:09:54 +0200

---
 gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index fdc9edabde..35a3e7a078 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -16322,3 +16322,24 @@ (define-public ghc-monoid-subclasses
 together with their instances for all data structures from base, containers,
 and text packages.")
     (license license:bsd-3)))
+
+(define-public ghc-fuzzy
+  (package
+    (name "ghc-fuzzy")
+    (version "0.1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "fuzzy" version))
+       (sha256
+        (base32 "16pl4ba9f3wlx69pg8va1c2qg4zb9c0w50d7f6d84x9b5ysaza5w"))))
+    (build-system haskell-build-system)
+    (outputs '("out" "static"))
+    (inputs (list ghc-monoid-subclasses))
+    (native-inputs (list ghc-hunit))
+    (home-page "https://github.com/joom/fuzzy";)
+    (synopsis "Filter a list based on a fuzzy string search.")
+    (description
+     "Fuzzy string search library for Haskell.  Uses TextualMonoid from
+monoid-subclasses to be able to run on different types of strings.")
+    (license license:expat)))
-- 
2.35.1






reply via email to

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