diff options
author | Paul van der Walt <paul@denknerd.org> | 2015-10-15 15:14:59 +0200 |
---|---|---|
committer | Paul van der Walt <paul@denknerd.org> | 2015-10-23 09:10:52 +0200 |
commit | fa709a2fc9e5ebc98df9d61452c727283a05fcd8 (patch) | |
tree | 0db4c21ac36e2a09c54b5eb1d4d9948832f62804 /gnu/packages | |
parent | 281bc4fd5d0f417fcda8108cf9a24094c6b5ca3d (diff) | |
download | patches-fa709a2fc9e5ebc98df9d61452c727283a05fcd8.tar patches-fa709a2fc9e5ebc98df9d61452c727283a05fcd8.tar.gz |
gnu: Add ghc-stringsearch.
* gnu/packages/haskell.scm (ghc-stringsearch): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/haskell.scm | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 47d9db1b05..8fb9844f09 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2783,4 +2783,27 @@ Kaseorg.") (description "Word8 library to be used with @code{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 @code{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 |