From bd58bee32e955e520c502fb47a27e30ccdd95474 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:32:28 -0700 Subject: [PATCH 03/12] gnu: Add ghc-timeit. * gnu/packages/haskell.scm (ghc-timeit): New variable. --- gnu/packages/haskell.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index e3de0d7807..0b9951bebd 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2737,6 +2737,27 @@ non-negative numbers (a generalization of Peano numbers). This library is used by the event-list package.") (license license:gpl3+))) +(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-transformers-compat (package (name "ghc-transformers-compat") -- 2.22.0