guix-commits
[Top][All Lists]
Advanced

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

36/151: gnu: Add ghc-safe.


From: Paul
Subject: 36/151: gnu: Add ghc-safe.
Date: Mon, 19 Oct 2015 08:57:30 +0000

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

commit f6c5dbc51f2b88ed4f65985e992c9607fedb393a
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 21:09:00 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 8fccda1..787bef9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -995,6 +995,30 @@ but also need those types.")
 style.")
     (license bsd-3)))
 
+(define-public ghc-safe
+  (package
+    (name "ghc-safe")
+    (version "0.3.9")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/safe/safe-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1jdnp5zhvalf1xy8i872n29nljfjz6lnl9ghj80ffisrnnkrwcfh"))))
+    (build-system haskell-build-system)
+    (home-page
+     "https://github.com/ndmitchell/safe#readme";)
+    (synopsis
+     "Library of safe (exception free) functions")
+    (description
+     "A library wrapping Prelude/Data.List functions that can throw
+exceptions, such as head and !!.")
+    (license bsd-3)))
+
 (define-public ghc-exceptions
   (package
     (name "ghc-exceptions")



reply via email to

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