all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Romain GARBAGE <romain.garbage@inria.fr>
To: 71938@debbugs.gnu.org
Cc: rekado@elephly.net, Romain GARBAGE <romain.garbage@inria.fr>,
	44518@debbugs.gnu.org
Subject: [bug#44518] [PATCH v3 16/25] gnu: Add ghc-stm-delay.
Date: Mon, 22 Jul 2024 13:28:13 +0200	[thread overview]
Message-ID: <20240722113008.9057-17-romain.garbage@inria.fr> (raw)
In-Reply-To: <20240722113008.9057-1-romain.garbage@inria.fr>

* gnu/packages/haskell-xyz.scm (ghc-stm-delay): New variable.

Change-Id: If9e20a2c103549de9b4b7d63158fe34165f6036a
---
 gnu/packages/haskell-xyz.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 67ced12750..6bdff48b6e 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -11757,6 +11757,31 @@ (define-public ghc-stm-conduit
 source and a sink.")
     (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)
+    (properties '((upstream-name . "stm-delay")))
+    (home-page "https://github.com/joeyadams/haskell-stm-delay")
+    (synopsis "Updatable one-shot timer polled with STM")
+    (description
+     "This library 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 @@@code{threadDelay}@@ and
+@@@code{registerDelay}@@.  Otherwise, it falls back to forked threads and
+@@@code{threadDelay}@@. . [0.1.1] Add @code{tryWaitDelayIO}, improve performance
+for certain cases of @@@code{newDelay}@@ and @@@code{updateDelay}@@, and improve
+example.")
+    (license license:bsd-3)))
+
 (define-public ghc-stmonadtrans
   (package
     (name "ghc-stmonadtrans")
-- 
2.45.1





  parent reply	other threads:[~2024-07-22 12:18 UTC|newest]

Thread overview: 33+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-08 12:53 [bug#44518] gnu: Add matterhorn elaexuotee--- via Guix-patches via
2022-09-10 12:06 ` ( via Guix-patches via
2022-09-12 16:47   ` Maxime Devos
2022-11-04 15:11 ` Mathieu
2024-07-22 11:27 ` [bug#44518] [PATCH v3 00/25] Add matterhorn package Romain GARBAGE
2024-07-22 11:27   ` [bug#71938] [PATCH v3 01/25] gnu: Add ghc-crypton Romain GARBAGE
2024-07-22 11:27   ` [bug#44518] [PATCH v3 02/25] gnu: Add ghc-crypton-x509 Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 03/25] gnu: Add ghc-crypton-x509-store Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 04/25] gnu: Add ghc-crypton-x509-system Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 05/25] gnu: Add ghc-crypton-x509-validation Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 06/25] gnu: Add ghc-tls-1.9 Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 07/25] gnu: Add ghc-crypton-connection Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 08/25] gnu: Add ghc-mattermost-api Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 09/25] gnu: Add ghc-mattermost-api-qc Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 10/25] gnu: Add ghc-modern-uri Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 11/25] gnu: Add ghc-aspell-pipe Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 12/25] gnu: Add ghc-bimap Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 13/25] gnu: Add ghc-checkers Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 14/25] gnu: Add ghc-monad-parallel Romain GARBAGE
2024-07-22 11:28     ` [bug#44518] " Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 15/25] gnu: ghc-text-zipper: Update to 0.13 Romain GARBAGE
2024-07-22 11:28   ` Romain GARBAGE [this message]
2024-07-22 11:28   ` [bug#44518] [PATCH v3 17/25] gnu: Add ghc-unique Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 18/25] gnu: Add ghc-unix-compat-7 Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 19/25] gnu: Add ghc-vty-crossplatform Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 20/25] gnu: Add ghc-vty-unix Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 21/25] gnu: Add ghc-vty-6 Romain GARBAGE
2024-07-22 11:28   ` [bug#44518] [PATCH v3 22/25] gnu: Add ghc-hclip Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 23/25] gnu: Add ghc-brick Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 24/25] gnu: Add ghc-brick-skylighting Romain GARBAGE
2024-07-22 11:28   ` [bug#71938] [PATCH v3 25/25] gnu: Add matterhorn Romain GARBAGE
2024-07-22 14:26   ` [bug#44518] [PATCH v3 00/25] Add matterhorn package Ricardo Wurmus
2024-07-22 22:31   ` bug#44518: " Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240722113008.9057-17-romain.garbage@inria.fr \
    --to=romain.garbage@inria.fr \
    --cc=44518@debbugs.gnu.org \
    --cc=71938@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.