guix-commits
[Top][All Lists]
Advanced

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

84/151: gnu: Add ghc-lifted-base.


From: Paul
Subject: 84/151: gnu: Add ghc-lifted-base.
Date: Mon, 19 Oct 2015 08:58:14 +0000

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

commit 6e856d342e57d915377b6b679a3082143c1d88dd
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 15:12:31 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 479133e..7d78a5d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2922,4 +2922,37 @@ types of tests into a single test suite.")
      "HUnit support for the Tasty test framework.")
     (license expat)))
 
+(define-public ghc-lifted-base
+  (package
+    (name "ghc-lifted-base")
+    (version "0.2.3.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/lifted-base/lifted-base-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1yz14a1rsgknwyl08n4kxrlc26hfwmb95a3c2drbnsgmhdyq7iap"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ; FIXME: Missing testing libraries.
+    (propagated-inputs
+     `(("ghc-transformers-base" ,ghc-transformers-base)
+       ("ghc-monad-control" ,ghc-monad-control)))
+    (inputs
+     `(("ghc-transformers-compat" ,ghc-transformers-compat)
+       ("ghc-hunit" ,ghc-hunit)))
+    (home-page
+     "https://github.com/basvandijk/lifted-base";)
+    (synopsis
+     "Lifted IO operations from the base library")
+    (description
+     "Lifted-base exports IO operations from the base library lifted to any
+instance of 'MonadBase' or 'MonadBaseControl'.  Note that not all modules from
+base are converted yet.  The package includes a copy of the monad-peel
+testsuite written by Anders Kaseorg.")
+    (license bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

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