guix-commits
[Top][All Lists]
Advanced

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

28/151: gnu: Add ghc-silently.


From: Paul
Subject: 28/151: gnu: Add ghc-silently.
Date: Mon, 19 Oct 2015 08:57:24 +0000

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

commit 1287870790ac4c9b0047eacd69d97e223a58b6fd
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 20:58:17 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index f35254a..26f45c0 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1006,6 +1006,31 @@ that you can use them without linking against Cabal or 
depending on it being
 installed.")
     (license bsd-3)))
 
+(define-public ghc-silently
+  (package
+    (name "ghc-silently")
+    (version "1.2.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/silently/silently-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0f9qm3f7y0hpxn6mddhhg51mm1r134qkvd2kr8r6192ka1ijbxnf"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ;; circular dependency with nanospec
+    (inputs
+     `(("ghc-temporary" ,ghc-temporary)))
+    (home-page "https://github.com/hspec/silently";)
+    (synopsis "Prevent writing to stdout")
+    (description
+     "This package provides functions to prevent or capture writing to stdout
+and other handles.")
+    (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]