rob pushed a commit to branch wip-haskell-updates
in repository guix.
commit fa1c656b67c34fb57f81e3969826b15dc33115b2
Author: Robert Vollmert <[email protected]>
Date: Mon Jul 15 10:45:46 2019 +0200
gnu: Add ghc-readable.
* gnu/packages/haskell-xyz.scm (ghc-readable): New package.
---
gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 9cfab15..f845883 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -57,3 +57,26 @@
"The package language-glsl is a Haskell library for the representation,
the parsing, and the pretty-printing of GLSL 1.50 code.")
(license license:bsd-3)))
+
+(define-public ghc-readable
+ (package
+ (name "ghc-readable")
+ (version "0.3.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/readable/readable-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1ja39cg26wy2fs00gi12x7iq5k8i366pbqi3p916skfa5jnkfc3h"))))
+ (build-system haskell-build-system)
+ (home-page
+ "https://github.com/mightybyte/readable")
+ (synopsis "Reading from Text and ByteString")
+ (description
+ "Provides a Readable type class for reading data types from ByteString
+and Text. Also includes efficient implementations for common data types.")
+ (license license:bsd-3)))