guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

11/20: gnu: Add ghc-exception-transformers.


From: guix-commits
Subject: 11/20: gnu: Add ghc-exception-transformers.
Date: Fri, 7 Jul 2023 09:31:46 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit c72ccc35ee5e9f70a3f5c337ef7362a5bf6d6b75
Author: zamfofex <zamfofex@twdb.moe>
AuthorDate: Wed Jun 14 09:48:50 2023 -0300

    gnu: Add ghc-exception-transformers.
    
    * gnu/packages/haskell-xyz.scm (ghc-exception-transformers): New
    variable.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/haskell-xyz.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 10a52c0586..28c2dacad8 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -12634,6 +12634,28 @@ transformers 0.2 or 0.3 compatibility to run on old 
versions of the platform,
 but also need those types.")
     (license license:bsd-3)))
 
+(define-public ghc-exception-transformers
+  (package
+    (name "ghc-exception-transformers")
+    (version "0.4.0.11")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "exception-transformers" version))
+              (sha256
+               (base32
+                "1zmd2s40m86c9mhv32l5bvvf5r52cgpxvb4v5phyc3pjwlr7m8g5"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "exception-transformers")))
+    (inputs (list ghc-fail ghc-transformers-compat))
+    (native-inputs (list ghc-hunit ghc-test-framework 
ghc-test-framework-hunit))
+    (home-page "http://hackage.haskell.org/package/exception-transformers";)
+    (synopsis "Type classes and monads for unchecked extensible exceptions")
+    (description
+     "This package provides type classes, a monad and a monad transformer that 
support
+unchecked extensible exceptions as well as asynchronous exceptions.  It is
+compatible with the transformers package.")
+    (license license:bsd-3)))
+
 (define-public ghc-tree-diff
   (package
     (name "ghc-tree-diff")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]