[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/39: gnu: Add ghc-errors.
From: |
Ludovic Courtès |
Subject: |
01/39: gnu: Add ghc-errors. |
Date: |
Sun, 22 Oct 2017 18:32:39 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 78d8b8f36ac8ffd859424b13d7e714eb2d38282a
Author: rsiddharth <address@hidden>
Date: Wed Oct 18 03:07:21 2017 +0000
gnu: Add ghc-errors.
* gnu/packages/haskell.scm (ghc-errors): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6864b7d..4d8fa21 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -11,6 +11,7 @@
;;; Copyright © 2017 Danny Milosavljevic <address@hidden>
;;; Copyright © 2017 Peter Mikkelsen <address@hidden>
;;; Copyright © 2017 Alex Vong <address@hidden>
+;;; Copyright © 2017 rsiddharth <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -9005,4 +9006,30 @@ contents of the HTTP connection. It also provides
higher-level functions
which allow you to avoid direct usage of conduits.")
(license license:bsd-3)))
+(define-public ghc-errors
+ (package
+ (name "ghc-errors")
+ (version "2.2.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "errors-" version "/"
+ "errors-" version ".tar.gz"))
+ (sha256
+ (base32
+ "13sflhglcm5skwrxb48fw96skdcx7ydiy4zg22200733pxhjncpn"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-exceptions" ,ghc-exceptions)
+ ("ghc-text" ,ghc-text)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)
+ ("ghc-unexceptionalio" ,ghc-unexceptionalio)
+ ("ghc-safe" ,ghc-safe)))
+ (home-page "https://github.com/gabriel439/haskell-errors-library")
+ (synopsis "Error handling library for Haskell")
+ (description "This library encourages an error-handling style that
+directly uses the type system, rather than out-of-band exceptions.")
+ (license license:bsd-3)))
+
;;; haskell.scm ends here
- branch master updated (ef7dd2e -> ed9b09e), Ludovic Courtès, 2017/10/22
- 01/39: gnu: Add ghc-errors.,
Ludovic Courtès <=
- 02/39: gnu: Add ghc-vector-th-unbox., Ludovic Courtès, 2017/10/22
- 04/39: gnu: Add ghc-math-functions., Ludovic Courtès, 2017/10/22
- 05/39: gnu: Add ghc-mwc-random., Ludovic Courtès, 2017/10/22
- 09/39: gnu: Add ghc-abstract-par., Ludovic Courtès, 2017/10/22
- 07/39: gnu: Add ghc-language-haskell-extract., Ludovic Courtès, 2017/10/22
- 11/39: gnu: Add ghc-abstract-deque., Ludovic Courtès, 2017/10/22
- 06/39: gnu: Add ghc-vector-algorithms., Ludovic Courtès, 2017/10/22
- 13/39: gnu: ghc-base-orphans: Update to 0.6., Ludovic Courtès, 2017/10/22
- 10/39: gnu: Add ghc-monad-par-extras., Ludovic Courtès, 2017/10/22
- 08/39: gnu: Add ghc-test-framework-th., Ludovic Courtès, 2017/10/22