summary refs log tree commit diff
diff options
context:
space:
mode:
authorSiniša Biđin <sinisa@bidin.eu>2015-08-18 22:40:10 +0200
committerEric Bavier <bavier@member.fsf.org>2015-08-23 16:49:57 -0500
commit7fc7186ede334f81a1a6396aa5e4e799da5f59ae (patch)
tree0d84762654cc4467793097d06e96523c8d14fd4f
parent4271d13474cfcae4f7ed3ffd9c2bec2a77229816 (diff)
downloadguix-7fc7186ede334f81a1a6396aa5e4e799da5f59ae.tar.gz
gnu: Add ghc-utf8-string.
* gnu/packages/haskell.scm (ghc-utf8-string): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
-rw-r--r--gnu/packages/haskell.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 2446d4b5d8..0f83f230b2 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -441,6 +441,28 @@ http://web.cecs.pdx.edu/~mpj/pubs/springschool.html.")
      "Knowledge of GHC's installation directories.")
     (license bsd-3)))
 
+(define-public ghc-utf8-string
+  (package
+    (name "ghc-utf8-string")
+    (version "0.3.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/utf8-string/utf8-string-"
+             version
+             ".tar.gz"))
+       (sha256
+        (base32 "1h29dn0scsfkhmkg14ywq9178lw40ah1r36w249zfzqr02y7qxc0"))))
+    (build-system haskell-build-system)
+    (home-page "http://github.com/glguy/utf8-string/")
+    (synopsis "Support for reading and writing UTF8 Strings")
+    (description
+     "A UTF8 layer for Strings. The utf8-string package provides operations
+for encoding UTF8 strings to Word8 lists and back, and for reading and writing
+UTF8 without truncation.")
+    (license bsd-3)))
+
 (define-public ghc-zlib
   (package
     (name "ghc-zlib")