Subject: [PATCH v2 03/23] gnu: Add ghc-clock-bootstrap-for-9.6

From: Saku Laesvuori <[email-masked]>
Date: Thu, 15 Feb 2024 10:49:44 +0200

* gnu/packages/haskell.scm (ghc-clock-bootstrap-for-9.6): New
  variable.

Change-Id: I78d0997ee749a0c1725490c99308dcd1dc5bfbe5
---
 gnu/packages/haskell.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index cd44d9c915..c2f0d8a160 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1533,4 +1533,25 @@ (define ghc-js-flot-bootstrap-for-9.6
 requirements of downstream users (e.g. Debian).")
     (license license:expat)))
 
+(define ghc-clock-bootstrap-for-9.6
+  (package
+    (name "ghc-clock-bootstrap")
+    (version "0.8.3")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "clock" version))
+              (sha256
+               (base32
+                "1l850pf1dxjf3i15wc47d64gzkpzgvw0bq13fd8zvklq9kdyap44"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "clock")))
+    (arguments (list #:tests? #f
+                     #:haskell ghc-bootstrap-for-9.6))
+    (home-page "https://github.com/corsis/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 license:bsd-3)))
+
 ;;; haskell.scm ends here
-- 
2.41.0