guix-commits
[Top][All Lists]
Advanced

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

73/151: gnu: Add ghc-statevar.


From: Paul
Subject: 73/151: gnu: Add ghc-statevar.
Date: Mon, 19 Oct 2015 08:58:05 +0000

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

commit 51d9e5c2023446408e9977c1dc0586ec2a8b985a
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 |   26 ++++++++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 4283d49..0d3a1a3 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -2531,6 +2531,32 @@ provides alternatives which use the unbounded 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
+     "State variables, which are references in the IO monad, like IORefs 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]