guix-commits
[Top][All Lists]
Advanced

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

50/151: gnu: Add ghc-vault.


From: Paul
Subject: 50/151: gnu: Add ghc-vault.
Date: Tue, 20 Oct 2015 15:30:18 +0000

toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.

commit 6f80c745ef8742fa8ee831a01cb42245885f9cb8
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 01:24:54 2015 +0200

    gnu: Add ghc-vault.
    
    * gnu/packages/haskell.scm (ghc-vault): New variable.
---
 gnu/packages/haskell.scm |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 9f626bc..f48d6c9 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1844,6 +1844,35 @@ be used to extend Hspec's functionality.")
 used to test the in-development version of Hspec.")
     (license expat)))
 
+(define-public ghc-vault
+  (package
+    (name "ghc-vault")
+    (version "0.3.0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/vault/vault-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "0ah6qrg71krc87f4vjy4b4shdd0mgyil8fikb3j6fl4kfwlg67jn"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-unordered-containers" ,ghc-unordered-containers)
+       ("ghc-hashable" ,ghc-hashable)))
+    (home-page
+     "https://github.com/HeinrichApfelmus/vault";)
+    (synopsis "Persistent store for arbitrary values")
+    (description "This package provides vaults for Haskell.  A vault is a
+persistent store for values of arbitrary types.  It's like having first-class
+access to the storage space behind @code{IORefs}.  The data structure is
+analogous to a bank vault, where you can access different bank boxes with
+different keys; hence the name.  Also provided is a @code{locker} type,
+representing a store for a single element.")
+    (license bsd-3)))
+
 (define-public ghc-async
   (package
     (name "ghc-async")



reply via email to

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