From patchwork Mon Jul 24 20:23:07 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Distopico X-Patchwork-Id: 52170 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9DA9527BBE9; Mon, 24 Jul 2023 21:27:26 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id DB72027BBE2 for ; Mon, 24 Jul 2023 21:27:25 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qO29B-0001mI-47; Mon, 24 Jul 2023 16:27:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qO292-0001kE-AY for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:04 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qO292-00008c-39 for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qO291-00054t-Va for guix-patches@gnu.org; Mon, 24 Jul 2023 16:27:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64840] [PATCH 05/12] gnu: Add ghc-pooled-io. Resent-From: Distopico Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 24 Jul 2023 20:27:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 64840 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64840@debbugs.gnu.org Cc: Distopico Received: via spool by 64840-submit@debbugs.gnu.org id=B64840.169023038419373 (code B ref 64840); Mon, 24 Jul 2023 20:27:03 +0000 Received: (at 64840) by debbugs.gnu.org; 24 Jul 2023 20:26:24 +0000 Received: from localhost ([127.0.0.1]:44209 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28N-00052K-BK for submit@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:23 -0400 Received: from mx1.riseup.net ([198.252.153.129]:46778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qO28K-00051J-Lu for 64840@debbugs.gnu.org; Mon, 24 Jul 2023 16:26:21 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx1.riseup.net (Postfix) with ESMTPS id 4R8sBH2NYzzDqgD for <64840@debbugs.gnu.org>; Mon, 24 Jul 2023 20:26:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1690230375; bh=CdUm3g9xskfoqOZLG9VHKnbD+/OZHLO2GsEUfm/Wsg8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=hpPsZZisJLQ4KfFgjvTfYPAjaqpeVKNa8IKLRJwr4DP0t3lzUl0cIG0vtKgevgjve 2oAlcAS+EG5lgIZ0GepzeZxc6FsVjJiGOYA0zxeRcEqpbLlzzxcRQc67VYMTVy6pFN 9zqq7lss7u/tYd414WPHauXx3FFRSpCpWDB3GDbs= X-Riseup-User-ID: B6A23C33881E58F511CA748F2450734ED47437DE19D51FDF4B6F9BE3AD0CB353 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4R8sBG4K0yzJntF; Mon, 24 Jul 2023 20:26:14 +0000 (UTC) From: Distopico Date: Mon, 24 Jul 2023 15:23:07 -0500 Message-ID: <20230724202532.8993-5-distopico@riseup.net> In-Reply-To: <20230724202532.8993-1-distopico@riseup.net> References: <20230724202532.8993-1-distopico@riseup.net> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/haskell-xyz.scm (ghc-pooled-io): New variable. --- gnu/packages/haskell-xyz.scm | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) 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")