diff mbox series

[bug#64840,05/12] gnu: Add ghc-pooled-io.

Message ID 20230724202532.8993-5-distopico@riseup.net
State New
Headers show
Series Add elm-format. | expand

Commit Message

Distopico July 24, 2023, 8:23 p.m. UTC
* gnu/packages/haskell-xyz.scm (ghc-pooled-io): New variable.
---
 gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 4be7bd970c..879d662da6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -8987,6 +8987,29 @@  (define-public ghc-pipes
 @end itemize")
     (license license:bsd-3)))
 
+(define-public ghc-pooled-io
+  (package
+    (name "ghc-pooled-io")
+    (version "0.0.2.3")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "pooled-io" version))
+              (sha256
+               (base32
+                "0ysgfwlppilj21sqhbcq7xbyc5hnc26mzb58y7mm9rd5piw3v7mc"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "pooled-io")))
+    (inputs (list ghc-utility-ht ghc-unsafe ghc-concurrent-split))
+    (home-page "https://hub.darcs.net/thielema/pooled-io")
+    (synopsis
+     "Run jobs on a limited number of threads and support data dependencies")
+    (description
+     "This package provide run computations on multiple cores that need to write
+intermediate results to disk.  The functions restrict the number of simultaneously
+running jobs to a user given number or to the number of capabilities the Haskell
+program.")
+    (license license:bsd-3)))
+
 (define-public ghc-pointedlist
   (package
     (name "ghc-pointedlist")