From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mCa0KDfk4GGc/gAAgWs5BA (envelope-from ) for ; Fri, 14 Jan 2022 03:47:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2OBcITfk4GHCGQEAG6o9tA (envelope-from ) for ; Fri, 14 Jan 2022 03:47:19 +0100 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 4B0AB27549 for ; Fri, 14 Jan 2022 03:47:19 +0100 (CET) Received: from localhost ([::1]:40530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1n8CcY-0002U7-G5 for larch@yhetil.org; Thu, 13 Jan 2022 21:47:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50010) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1n8CcN-0002Pp-EQ for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:07 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42168) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1n8CcN-0007mb-2y for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:07 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1n8CcN-0000Xx-2d for guix-patches@gnu.org; Thu, 13 Jan 2022 21:47:07 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#50835] [PATCH v2 14/24] gnu: Add ghc-stm-delay. Resent-From: Stephen Paul Weber Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 14 Jan 2022 02:47:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50835 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50835@debbugs.gnu.org Cc: Stephen Paul Weber , rg@raghavgururajan.name Received: via spool by 50835-submit@debbugs.gnu.org id=B50835.16421283711841 (code B ref 50835); Fri, 14 Jan 2022 02:47:07 +0000 Received: (at 50835) by debbugs.gnu.org; 14 Jan 2022 02:46:11 +0000 Received: from localhost ([127.0.0.1]:35031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbS-0000TX-Sn for submit@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:11 -0500 Received: from singpolyma.net ([192.99.233.116]:37735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1n8CbJ-0000Px-Sr for 50835@debbugs.gnu.org; Thu, 13 Jan 2022 21:46:04 -0500 Received: by singpolyma.net (Postfix, from userid 1000) id 435324861715; Fri, 14 Jan 2022 02:46:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=singpolyma.net; s=iweb; t=1642128360; bh=OlG/H+1ZYNB/AD8hCj2viLDSV0QK0rGzGwCM07X3kUs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=V3HP+OLUEWx+d/cxOXowtsaLcxwEpU9a+fMaVdm5+NmZERKAoMcMjMNHN8W0N0f7G givsLtZAjfEbzeT1sDKwQaL/EVzv1s6ZGYvisNum4wbiGY1cRSrWXCVxHzw+KBUXiv DWpSw4AU46N9/WQrddLtaIuWfWJvwobxde8/DC4E= From: Stephen Paul Weber Date: Thu, 13 Jan 2022 21:45:36 -0500 Message-Id: <20220114024546.75747-14-singpolyma@singpolyma.net> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220114024546.75747-1-singpolyma@singpolyma.net> References: <20220114024546.75747-1-singpolyma@singpolyma.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" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1642128439; 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=AWYu6ZNGwldtqGY7etsTykIimLgKO+insNz2g0NIgEM=; b=OCtBtkzmQ6czDTF8WnS5rKLfQghyXDTKjTigLXg1CIfppP2P3g2ZmsK5s60FlC3chYanUH wZu0SdDciVUW/ilrmWyzrCnF1zBloSNEILKxw/dMOgb26H38Nl15T3sWSAlLfv3U5WO2vP QbfgXjwPcVqTkiNceVgJfKjlmLK59gM8BDNGJLsC+Q3hRSxk1EQUlwF+0ooQjVMWXfdGCq 8LJkPKcesNJAfrf10C/+DP3VLFXBWzKTtXQMIWUj/iTRCRGonbPTYJRHVrQcCLBvQI/CLT rpdGs9Pdx+4uuJ2m3rqCuRug3jBUtXPMpeEt/wC1A/bwPp4Q/kdjV6znRqZvHw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1642128439; a=rsa-sha256; cv=none; b=fkLD3PThSY/UU484q6P1162tjGWU2wUd0OR3yOU0wgPLajdqRMGuGAyoBs+mXLxpU3UqjL 0OHUE4KeoM2a/lmgb74wsYlv6L1fY0rzUBJEVcCRHD6fC1uC6WrZrulY3a9gT+kPRHtZlS KayP0VpvJ9ODLeJH4ljIhIycIWamchjD/073Sf4/aAirSBU7ECyQlJWOPpZkQt7EBg9DGt vqj6Xce1ooSrUyrZvxZnIIDB5IKrwerB/MMBQnJsLRcND6lXIs7CfYdsMBhYh1FRvUcIfS ejVPBG95Zbp9QFDc1hG4tACH4tAsDKJ++WcCJ18oNtDTPBbiqscZCzzXjYCwhw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=V3HP+OLU; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); 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" X-Migadu-Spam-Score: -1.02 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=singpolyma.net header.s=iweb header.b=V3HP+OLU; dmarc=fail reason="SPF not aligned (strict)" header.from=singpolyma.net (policy=none); 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" X-Migadu-Queue-Id: 4B0AB27549 X-Spam-Score: -1.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: MkEsd0Igh0C2 * gnu/packages/haskell-xyz.scm (ghc-stm-delay): New variable. --- gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index 74d6460edf..f7a04e2976 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -16408,3 +16408,24 @@ Does only what it needs to do and nothing more, no XEP wrappers etc.") based on `perfect shuffle' implementation by Oleg Kiselyov available at http://okmij.org/ftp/Haskell/perfect-shuffle.txt") (license license:bsd-3))) + +(define-public ghc-stm-delay + (package + (name "ghc-stm-delay") + (version "0.1.1.1") + (source + (origin + (method url-fetch) + (uri (hackage-uri "stm-delay" version)) + (sha256 + (base32 "0cla21v89gcvmr1iwzibq13v1yq02xg4h6k9l6kcprj7mhd5hcmi")))) + (build-system haskell-build-system) + (home-page "https://github.com/joeyadams/haskell-stm-delay") + (synopsis "Updatable one-shot timer polled with STM") + (description + "STM Delay lets you create a one-shot timer, poll it using STM, +and update it to ring at a different time than initially specified. It uses +GHC event manager timeouts when available (GHC 7.2+, -threaded, non-Windows OS), +yielding performance similar to threadDelay and registerDelay. Otherwise, +it falls back to forked threads and threadDelay.") + (license license:bsd-3))) -- 2.30.2