diff mbox series

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

Message ID 20241031125127.14080-9-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-random-bootstrap-for-9.6): New variable.

Change-Id: If1a39b27687a63a63dab5aa4c1a366a8ba78196a
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index f93e3bf6c7..2d50113d64 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1738,4 +1738,26 @@  (define ghc-splitmix-bootstrap-for-9.6
 internal state).")
     (license license:bsd-3)))
 
+(define ghc-random-bootstrap-for-9.6
+  (package
+    (name "ghc-random-bootstrap")
+    (version "1.2.1.1")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "random" version))
+              (sha256
+               (base32
+                "0xlv1k4sj87akwvj54kq4nrfkzi6qcz1941bf78pnkbaxpvp44iy"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "random")))
+    (arguments (list #:tests? #f
+                     #:haskell ghc-bootstrap-for-9.6))
+    (inputs (list ghc-splitmix-bootstrap-for-9.6))
+    (home-page "http://hackage.haskell.org/package/random")
+    (synopsis "Random number library")
+    (description
+     "This package provides a basic random number generation
+library, including the ability to split random number generators.")
+    (license license:bsd-3)))
+
 ;;; haskell.scm ends here