guix-commits
[Top][All Lists]
Advanced

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

80/153: gnu: Add ghc-clock.


From: Paul
Subject: 80/153: gnu: Add ghc-clock.
Date: Thu, 22 Oct 2015 10:11:25 +0000

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

commit 3da27393640b52bb7f07217cba9825d212e2639c
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 14:57:25 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6aa3a91..be37c5a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2445,6 +2445,28 @@ or timeout period.  This package provides alternative 
functions which use the
 unbounded @code{Integer} type.")
     (license bsd-3)))
 
+(define-public ghc-clock
+  (package
+    (name "ghc-clock")
+    (version "0.5.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/";
+             "clock/"
+             "clock-" version ".tar.gz"))
+       (sha256
+        (base32 "1ncph7vi2q6ywwc8ysxl1ibw6i5dwfvln88ssfazk8jgpj4iyykw"))))
+    (build-system haskell-build-system)
+    (arguments `(#:tests? #f)) ;; Testing suite depends on ghc-clock
+    (home-page "https://hackage.haskell.org/package/clock";)
+    (synopsis "High-resolution clock for Haskell")
+    (description
+     "A package for convenient access to high-resolution clock and timer
+functions of different operating systems via a unified API.")
+    (license bsd-3)))
+
 (define-public ghc-charset
   (package
     (name "ghc-charset")



reply via email to

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