[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#44518] [PATCH v2 16/25] gnu: Add ghc-stm-delay.
From: |
Romain GARBAGE |
Subject: |
[bug#44518] [PATCH v2 16/25] gnu: Add ghc-stm-delay. |
Date: |
Tue, 9 Jul 2024 15:54:00 +0200 |
* 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
- [bug#44518] [PATCH v2 13/25] gnu: Add ghc-checkers., (continued)
- [bug#44518] [PATCH v2 13/25] gnu: Add ghc-checkers., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 08/25] gnu: Add ghc-mattermost-api., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 14/25] gnu: Add ghc-monad-parallel., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 10/25] gnu: Add ghc-modern-uri., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 15/25] gnu: ghc-text-zipper: Update to 0.13., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 24/25] gnu: Add ghc-brick-skylighting., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 09/25] gnu: Add ghc-mattermost-api-qc., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 17/25] gnu: Add ghc-unique., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 20/25] gnu: Add ghc-vty-unix., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 23/25] gnu: Add ghc-brick., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 16/25] gnu: Add ghc-stm-delay.,
Romain GARBAGE <=
- [bug#44518] [PATCH v2 18/25] gnu: Add ghc-unix-compat-7., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 21/25] gnu: Add ghc-vty-6., Romain GARBAGE, 2024/07/09
- [bug#71938] [PATCH v2 19/25] gnu: Add ghc-vty-crossplatform., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 22/25] gnu: Add ghc-hclip., Romain GARBAGE, 2024/07/09
- [bug#44518] [PATCH v2 25/25] gnu: Add matterhorn., Romain GARBAGE, 2024/07/09