guix-commits
[Top][All Lists]
Advanced

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

04/14: gnu: Add ghc-timeit.


From: guix-commits
Subject: 04/14: gnu: Add ghc-timeit.
Date: Fri, 16 Aug 2019 14:57:34 -0400 (EDT)

rob pushed a commit to branch wip-haskell-updates
in repository guix.

commit 747febb46810468ad08b2a2ddb07d66e8299e05e
Author: John Soo <address@hidden>
Date:   Sun Jul 7 17:32:28 2019 -0700

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

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 0bfe685..087d178 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -10109,6 +10109,27 @@ function which generates instances.")
 @code{TimeLocale}.")
     (license license:bsd-3)))
 
+(define-public ghc-timeit
+  (package
+    (name "ghc-timeit")
+    (version "2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "https://hackage.haskell.org/package/timeit/timeit-";
+         version ".tar.gz"))
+       (sha256
+        (base32
+         "1sliqpvl501rlcj6s0lhmsf5ym24j4h881wzc1f1wdyvg3jz8kd1"))))
+    (build-system haskell-build-system)
+    (home-page "https://github.com/merijn/timeit";)
+    (synopsis "Time monadic computations with an IO base")
+    (description "A simple wrapper to show the used CPU time of monadic
+computation with an IO base.")
+    (license license:bsd-3)))
+
 (define-public ghc-tldr
   (package
     (name "ghc-tldr")



reply via email to

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