guix-commits
[Top][All Lists]
Advanced

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

73/154: gnu: Add ghc-statevar.


From: Paul
Subject: 73/154: gnu: Add ghc-statevar.
Date: Fri, 23 Oct 2015 07:14:11 +0000

toothbrush pushed a commit to branch master
in repository guix.

commit f271524a1454e6c8ab12ca8388d8248cd2d26f86
Author: Paul van der Walt <address@hidden>
Date:   Thu Oct 15 14:36:03 2015 +0200

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

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6703683..0b80b3b 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2433,6 +2433,29 @@ unbounded @code{Integer} type.")
 given term should not exist.")
     (license bsd-3)))
 
+(define-public ghc-statevar
+  (package
+    (name "ghc-statevar")
+    (version "1.1.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "http://hackage.haskell.org/package/StateVar/StateVar-";
+             version
+             ".tar.gz"))
+       (sha256
+        (base32
+         "1ap51cvwq61xckx5hw44l82ihbxvsq3263xr5hqg42c5qp67kbhf"))))
+    (build-system haskell-build-system)
+    (propagated-inputs
+     `(("ghc-stm" ,ghc-stm)))
+    (home-page "http://hackage.haskell.org/package/StateVar";)
+    (synopsis "State variables for Haskell")
+    (description "This package provides state variables, which are references
+in the @code{IO} monad, like @code{IORef}s or parts of the OpenGL state.")
+    (license bsd-3)))
+
 (define-public ghc-bifunctors
   (package
     (name "ghc-bifunctors")



reply via email to

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