guix-commits
[Top][All Lists]
Advanced

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

26/151: gnu: Add ghc-exceptions.


From: Paul
Subject: 26/151: gnu: Add ghc-exceptions.
Date: Mon, 19 Oct 2015 08:57:22 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit ad0bd65adb255936104121d9acbce2f70146731d
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 20:57:25 2015 +0200

    gnu: Add ghc-exceptions.
    
    * gnu/packages/haskell.scm (ghc-exceptions): New variable.
---
 gnu/packages/haskell.scm |   30 ++++++++++++++++++++++++++++++
 1 files changed, 30 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5ddfef6..50c633c 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -949,6 +949,36 @@ transformers 0.2 or 0.3 compatibility to run on old 
versions of the platform,
 but also need those types.")
     (license bsd-3)))
 
+(define-public ghc-exceptions
+  (package
+    (name "ghc-exceptions")
+    (version "0.8.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/exceptions/exceptions-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1x1bk1jf42k1gigiqqmkkh38z2ffhx8rsqiszdq3f94m2h6kw2h7"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: Missing test-framework package.
+    (propagated-inputs
+     `(("ghc-stm" ,ghc-stm)
+       ("ghc-mtl" ,ghc-mtl)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)))
+    (inputs
+     `(("ghc-quickcheck" ,ghc-quickcheck)))
+    (home-page
+     "http://github.com/ekmett/exceptions/";)
+    (synopsis
+     "Extensible optionally-pure exceptions")
+    (description
+     "Extensible optionally-pure exceptions")
+    (license bsd-3)))
+
 (define-public ghc-quickcheck-io
   (package
     (name "ghc-quickcheck-io")



reply via email to

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