[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/05: gnu: Add ghc-text-conversions.
From: |
guix-commits |
Subject: |
04/05: gnu: Add ghc-text-conversions. |
Date: |
Sat, 8 Feb 2020 09:40:32 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit e90a06fcc55b6bef68e8fed88eebed403058f55c
Author: Nicolas Goaziou <address@hidden>
AuthorDate: Sat Feb 8 15:07:22 2020 +0100
gnu: Add ghc-text-conversions.
* gnu/packages/haskell-xyz.scm (ghc-text-conversions): New variable.
---
gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 1a70ef4..ea9efe7 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8222,6 +8222,31 @@ require aeson
@end itemize")
(license license:bsd-3)))
+(define-public ghc-text-conversions
+ (package
+ (name "ghc-text-conversions")
+ (version "0.3.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/text-conversions/"
+ "text-conversions-" version ".tar.gz"))
+ (sha256
+ (base32 "089c56vdj9xysqfr1hnvbnrghlg83q6w10xk02gflpsidcpvwmhp"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-base16-bytestring" ,ghc-base16-bytestring)
+ ("ghc-base64-bytestring" ,ghc-base64-bytestring)
+ ("ghc-errors" ,ghc-errors)))
+ (native-inputs
+ `(("ghc-hspec" ,ghc-hspec)
+ ("ghc-hspec-discover" ,ghc-hspec-discover)))
+ (home-page "https://github.com/cjdev/text-conversions#readme")
+ (synopsis "Safe conversions between textual types")
+ (description "Safe conversions between textual types")
+ (license license:isc)))
+
(define-public ghc-doclayout
(package
(name "ghc-doclayout")