From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id OAyHB67evmQpKAAASxT56A (envelope-from ) for ; Mon, 24 Jul 2023 22:27:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id OD1qB67evmSRhAAA9RJhRA (envelope-from ) for ; Mon, 24 Jul 2023 22:27:26 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id EC52B52749 for ; Mon, 24 Jul 2023 22:27:25 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=hpPsZZis; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1690230446; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=kHFd9665TQenyBnTdy+8oIfOm/d9zNQ2ZKrk1gwony8=; b=abtl8kwMkJnycXlgpgyu8FYApeffz7PdmsYjReL6k/E8WbZMeverxzj69kMmQz3cDD3Bdo x3eBlhk7tPyztVwaj7zjyXCsCeKqS914Plfc1CHk38MtFZ3X/sDX3I7N2n+DtgzDogAuj1 9OocRLh4pT/5K4vLVkhfcptnR2vMQ+lR5+BdGBolvU4WV0W6U7goruLU4wT2oo5pVwp0hk 2t/FbXaNA4S+YcDADgB+/mf1lzbrDJASyZdJNGevolxMSPVi4w3g5el+2nvLRvjmYnHQA1 8hUQ9ATNUDLnCnIiTeUNnZgIT5yu6VXaVw4XuJSY9waibBuH4g8g7Qj7rEZJkQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=hpPsZZis; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1690230446; a=rsa-sha256; cv=none; b=U7PdpyjkYwUev2BwAcB29efbrSfuFuAr7hcajfUCY/y/yyY3r8u9EI6yRz3qo8+jfn7PNL 16iqq3z7lzarR9c7odiAAXd17LL0LYz22nKOjfq3DRvmkAB9x1YM8CZMUW4MChCGd+a+LA sL2ga1pfTB05zAgA1fpChI3jodV3R1NTHBv6F6UObos60h05x9E4puTO5eAStMqotbRHVF 2XON5NZp5gN06nUhRpDGLEyn1bUql7oCt+Vhpg5PjT+g1kLbi2WXEP5z1EFmnh0izOqNNK V3lvOkUeIJ5IVnE9fEQp5rLgkZGazd/EfiB79IIm0qmUmitqVEK1JNamoUodWw== 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 4.25 X-Migadu-Queue-Id: EC52B52749 X-Migadu-Spam-Score: 4.25 X-Migadu-Scanner: mx0.migadu.com X-TUID: sjgpHdyjf+dg * 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") -- 2.41.0