From 05fb6e8334d5819fad1ae532a2190b3bdaeebad7 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 7 Jul 2019 17:32:28 -0700 Subject: [PATCH 04/13] gnu: Add ghc-timeit. --- gnu/packages/haskell.scm | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index d5ca32027a..7126d7a6de 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2813,6 +2813,28 @@ 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) + (arguments `(#:tests? #f)) + (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