[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
09/14: gnu: Add ghc-safesemaphore.
From: |
Ludovic Courtès |
Subject: |
09/14: gnu: Add ghc-safesemaphore. |
Date: |
Fri, 1 Jun 2018 07:52:19 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 6950a4507392bec54ad84378dd0a2c2904238f65
Author: Timothy Sample <address@hidden>
Date: Tue Feb 20 00:25:04 2018 -0500
gnu: Add ghc-safesemaphore.
* gnu/packages/haskell.scm (ghc-safesemaphore): New variable.
Signed-off-by: Ludovic Courtès <address@hidden>
---
gnu/packages/haskell.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 76daf5b..8427ce9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1939,6 +1939,30 @@ case with other forms of concurrent communication, such
as locks or
"This package provides a library for parallel programming.")
(license license:bsd-3)))
+(define-public ghc-safesemaphore
+ (package
+ (name "ghc-safesemaphore")
+ (version "0.10.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "https://hackage.haskell.org/package/"
+ "SafeSemaphore/SafeSemaphore-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0rpg9j6fy70i0b9dkrip9d6wim0nac0snp7qzbhykjkqlcvvgr91"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-stm" ,ghc-stm)))
+ (native-inputs
+ `(("ghc-hunit" ,ghc-hunit)))
+ (home-page "https://github.com/ChrisKuklewicz/SafeSemaphore")
+ (synopsis "Exception safe semaphores")
+ (description "This library provides exception safe semaphores that can be
+used in place of @code{QSem}, @code{QSemN}, and @code{SampleVar}, all of which
+are not exception safe and can be broken by @code{killThread}.")
+ (license license:bsd-3)))
+
(define-public ghc-text
(package
(name "ghc-text")
- branch master updated (8674abb -> 5d66988), Ludovic Courtès, 2018/06/01
- 07/14: gnu: Add ghc-ifelse., Ludovic Courtès, 2018/06/01
- 02/14: marionette: Add 'wait-for-tcp-port'., Ludovic Courtès, 2018/06/01
- 01/14: gnu: emacs-w3m: Update and allow builds with Emacs 26., Ludovic Courtès, 2018/06/01
- 05/14: gnu: Add ghc-bloomfilter., Ludovic Courtès, 2018/06/01
- 08/14: gnu: Add ghc-esqueleto., Ludovic Courtès, 2018/06/01
- 10/14: gnu: ghc-psqueues: Allow building with newer versions of QuickCheck., Ludovic Courtès, 2018/06/01
- 13/14: gnu: rust: Add support for building 32-bit packages on 64-bit hosts., Ludovic Courtès, 2018/06/01
- 09/14: gnu: Add ghc-safesemaphore.,
Ludovic Courtès <=
- 03/14: gnu: Add hpcguix-web., Ludovic Courtès, 2018/06/01
- 06/14: gnu: Add ghc-feed., Ludovic Courtès, 2018/06/01
- 11/14: gnu: Add ghc-disk-free-space., Ludovic Courtès, 2018/06/01
- 04/14: services: Add hpcguix-web., Ludovic Courtès, 2018/06/01
- 14/14: gexp: 'compiled-modules' no longer overrides (guix build utils)., Ludovic Courtès, 2018/06/01
- 12/14: gnu: Add git-annex., Ludovic Courtès, 2018/06/01