guix-commits
[Top][All Lists]
Advanced

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

02/04: gnu: Add ghc-foundation.


From: Ricardo Wurmus
Subject: 02/04: gnu: Add ghc-foundation.
Date: Mon, 26 Mar 2018 14:41:59 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 635cc8fef62ace9c0900419f63cddeb10ab98334
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Mar 26 20:20:26 2018 +0200

    gnu: Add ghc-foundation.
    
    * gnu/packages/haskell.scm (ghc-foundation): New variable.
---
 gnu/packages/haskell.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 5de9f51..fcf56f7 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -9043,4 +9043,38 @@ Web Services.")
 packages.")
     (license license:bsd-3)))
 
+(define-public ghc-foundation
+  (package
+    (name "ghc-foundation")
+    (version "0.0.20")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/";
+                           "foundation/foundation-" version ".tar.gz"))
+       (sha256
+        (base32
+         "0bg4g0xf4pb2vmahnfp8c4f0a3v0av73lb5g8bwnp170khxfcsms"))))
+    (build-system haskell-build-system)
+    (inputs `(("ghc-basement" ,ghc-basement)))
+    (home-page "https://github.com/haskell-foundation/foundation";)
+    (synopsis "Alternative prelude with batteries and no dependencies")
+    (description
+     "This package provides a custom prelude with no dependencies apart from
+the base package.
+
+Foundation has the following goals:
+
address@hidden
address@hidden provide a base like sets of modules that provide a consistent 
set of
+   features and bugfixes across multiple versions of GHC (unlike base).
address@hidden provide a better and more efficient prelude than base's prelude.
address@hidden be self-sufficient: no external dependencies apart from base;
address@hidden provide better data-types: packed unicode string by default, 
arrays;
address@hidden Numerical classes that better represent mathematical things (no 
more
+   all-in-one @code{Num});
address@hidden I/O system with less lazy IO.
address@hidden enumerate\n")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here



reply via email to

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