diff mbox series

[bug#67921,v3,04/24] gnu: Add ghc-clock-bootstrap-for-9.6

Message ID 20241031125127.14080-5-ngraves@ngraves.fr
State New
Headers show
Series GHC update. | expand

Commit Message

Nicolas Graves Oct. 31, 2024, 12:46 p.m. UTC
From: Saku Laesvuori <saku@laesvuori.fi>

* 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 mbox series

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 05be1c019a..8cfbeed186 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1638,4 +1638,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