[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/24: gnu: Add ghc-atomic-write.
From: |
Ricardo Wurmus |
Subject: |
05/24: gnu: Add ghc-atomic-write. |
Date: |
Fri, 5 Oct 2018 17:59:47 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 6c8197783dca26159a669202a0635af0338d4992
Author: Ricardo Wurmus <address@hidden>
Date: Tue Oct 2 18:10:15 2018 +0200
gnu: Add ghc-atomic-write.
* gnu/packages/haskell.scm (ghc-atomic-write): New variable.
---
gnu/packages/haskell.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c040965..c1815c6 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -10691,6 +10691,41 @@ documents, amongst others.")
backend for the Charts library.")
(license license:bsd-3)))
+(define-public ghc-atomic-write
+ (package
+ (name "ghc-atomic-write")
+ (version "0.2.0.5")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "https://hackage.haskell.org/package/atomic-write/atomic-write-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "1iaq0hprxcv0sl1sgwcgmm87zraf738va1bciwnx2jkk3k1v9iyv"))))
+ (build-system haskell-build-system)
+ (inputs
+ `(("ghc-temporary" ,ghc-temporary)
+ ("ghc-unix-compat" ,ghc-unix-compat)
+ ("ghc-text" ,ghc-text)))
+ (native-inputs
+ `(("ghc-temporary" ,ghc-temporary)
+ ("ghc-unix-compat" ,ghc-unix-compat)
+ ("ghc-text" ,ghc-text)
+ ("ghc-hspec" ,ghc-hspec)
+ ("hspec-discover" ,hspec-discover)))
+ (home-page "https://github.com/stackbuilders/atomic-write")
+ (synopsis "Atomically write to a file")
+ (description
+ "Atomically write to a file on POSIX-compliant systems while preserving
+permissions. @code{mv} is an atomic operation. This makes it simple to write
+to a file atomically just by using the @code{mv} operation. However, this
+will destroy the permissions on the original file. This library preserves
+permissions while atomically writing to a file.")
+ (license license:expat)))
+
(define-public ghc-weigh
(package
(name "ghc-weigh")
- 08/24: gnu: Add ghc-stm-conduit., (continued)
- 08/24: gnu: Add ghc-stm-conduit., Ricardo Wurmus, 2018/10/05
- 09/24: gnu: Add ghc-bindings-dsl., Ricardo Wurmus, 2018/10/05
- 11/24: gnu: Add ghc-bzlib-conduit., Ricardo Wurmus, 2018/10/05
- 10/24: gnu: Add ghc-lzma-conduit., Ricardo Wurmus, 2018/10/05
- 12/24: gnu: Add ghc-pqueue., Ricardo Wurmus, 2018/10/05
- 13/24: gnu: Add ghc-conduit-algorithms., Ricardo Wurmus, 2018/10/05
- 20/24: gnu: Add ghc-bytestring-lexing., Ricardo Wurmus, 2018/10/05
- 18/24: gnu: Add ghc-safe-exceptions., Ricardo Wurmus, 2018/10/05
- 23/24: gnu: Add ghc-safeio., Ricardo Wurmus, 2018/10/05
- 04/24: gnu: Add ghc-chart-cairo., Ricardo Wurmus, 2018/10/05
- 05/24: gnu: Add ghc-atomic-write.,
Ricardo Wurmus <=
- 06/24: gnu: Add ghc-cereal-conduit., Ricardo Wurmus, 2018/10/05
- 07/24: gnu: Add ghc-lzma., Ricardo Wurmus, 2018/10/05
- 16/24: gnu: Add ghc-raw-string-qq., Ricardo Wurmus, 2018/10/05
- 17/24: gnu: Add ghc-inline-c., Ricardo Wurmus, 2018/10/05
- 14/24: gnu: Add ghc-interpolate., Ricardo Wurmus, 2018/10/05
- 15/24: gnu: Add ghc-hpack., Ricardo Wurmus, 2018/10/05
- 24/24: gnu: Add ngless., Ricardo Wurmus, 2018/10/05
- 22/24: gnu: Add ghc-file-embed., Ricardo Wurmus, 2018/10/05
- 21/24: gnu: Add ghc-configurator., Ricardo Wurmus, 2018/10/05
- 19/24: gnu: Add ghc-inline-c-cpp., Ricardo Wurmus, 2018/10/05