emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#32913: closed ([PATCH 05/24] gnu: Add ghc-atomic-w


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#32913: closed ([PATCH 05/24] gnu: Add ghc-atomic-write.)
Date: Tue, 02 Oct 2018 16:38:05 +0000

Your message dated Tue, 2 Oct 2018 18:37:39 +0200
with message-id <address@hidden>
and subject line submitted by accident
has caused the debbugs.gnu.org bug report #32913,
regarding [PATCH 05/24] gnu: Add ghc-atomic-write.
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
32913: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32913
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: [PATCH 05/24] gnu: Add ghc-atomic-write. Date: Tue, 2 Oct 2018 18:28:53 +0200
* 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 c040965e9..c1815c60d 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")
-- 
2.19.0




--- End Message ---
--- Begin Message --- Subject: submitted by accident Date: Tue, 2 Oct 2018 18:37:39 +0200 User-agent: mu4e 1.0; emacs 26.1
Sorry.


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]