guix-commits
[Top][All Lists]
Advanced

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

86/151: gnu: Add ghc-stringsearch.


From: Paul
Subject: 86/151: gnu: Add ghc-stringsearch.
Date: Mon, 19 Oct 2015 08:58:15 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit e5863a7c46193124c88df37ef395cb98ebe9307d
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:14:59 2015 +0200

    gnu: Add ghc-stringsearch.
    
    * gnu/packages/haskell.scm (ghc-stringsearch): New variable.
---
 gnu/packages/haskell.scm |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index e580a9f..2cbff58 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2978,4 +2978,30 @@ testsuite written by Anders Kaseorg.")
      "Word8 library to be used with Data.ByteString.")
     (license bsd-3)))
 
+(define-public ghc-stringsearch
+  (package
+    (name "ghc-stringsearch")
+    (version "0.3.6.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/stringsearch/stringsearch-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0jpy9xjcjdbpi3wk6mg7xwd7wfi2mma70p97v1ij5i8bj9qijpr9"))))
+    (build-system haskell-build-system)
+    (home-page
+     "https://bitbucket.org/dafis/stringsearch";)
+    (synopsis
+     "Fast searching, splitting and replacing of ByteStrings")
+    (description
+     "This package provides several functions to quickly search for substrings
+in strict or lazy ByteStrings.  It also provides functions for breaking or
+splitting on substrings and replacing all occurrences of a substring (the
+first in case of overlaps) with another.")
+    (license bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

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