[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
117/153: gnu: Add ghc-resourcet.
From: |
Paul |
Subject: |
117/153: gnu: Add ghc-resourcet. |
Date: |
Wed, 21 Oct 2015 20:50:59 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 6a048f1992184e42e390bda913ba9659c4289d18
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 15 16:35:43 2015 +0200
gnu: Add ghc-resourcet.
* gnu/packages/haskell.scm (ghc-resourcet): New variable.
---
gnu/packages/haskell.scm | 33 +++++++++++++++++++++++++++++++++
1 files changed, 33 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c03848f..61e0e1a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -528,6 +528,39 @@ the HaRP extension as well as HSX-style embedded XML
syntax.")
"HLint gives suggestions on how to improve your source code.")
(license bsd-3)))
+(define-public ghc-resourcet
+ (package
+ (name "ghc-resourcet")
+ (version "1.1.6")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append
+ "http://hackage.haskell.org/package/resourcet/resourcet-"
+ version
+ ".tar.gz"))
+ (sha256
+ (base32
+ "0zhsaaa4n8ry76vjih519a8npm2hrzk10d5asrgllcwpzmifl41y"))))
+ (build-system haskell-build-system)
+ (propagated-inputs
+ `(("ghc-transformers-base" ,ghc-transformers-base)
+ ("ghc-monad-control" ,ghc-monad-control)
+ ("ghc-transformers-compat" ,ghc-transformers-compat)
+ ("ghc-mtl" ,ghc-mtl)
+ ("ghc-mmorph" ,ghc-mmorph)
+ ("ghc-exceptions" ,ghc-exceptions)))
+ (inputs
+ `(("ghc-lifted-base" ,ghc-lifted-base)
+ ("ghc-hspec" ,ghc-hspec)))
+ (home-page "http://github.com/snoyberg/conduit")
+ (synopsis
+ "Deterministic allocation and freeing of scarce resources")
+ (description
+ "ResourceT is a monad transformer which creates a region of code where
+you can safely allocate resources.")
+ (license bsd-3)))
+
(define-public ghc-cpphs
(package
(name "ghc-cpphs")
- 101/153: gnu: Add ghc-hscolour., (continued)
- 101/153: gnu: Add ghc-hscolour., Paul, 2015/10/21
- 109/153: gnu: Add ghc-free., Paul, 2015/10/21
- 114/153: gnu: Add ghc-happy., Paul, 2015/10/21
- 107/153: gnu: Add ghc-reflection., Paul, 2015/10/21
- 126/153: gnu: Add ghc-kan-extensions., Paul, 2015/10/21
- 127/153: gnu: Add ghc-lens., Paul, 2015/10/21
- 131/153: gnu: Add ghc-haddock-library., Paul, 2015/10/21
- 134/153: gnu: Add ghc-alex., Paul, 2015/10/21
- 133/153: gnu: Add ghc-haddock., Paul, 2015/10/21
- 116/153: gnu: Add ghc-hlint., Paul, 2015/10/21
- 117/153: gnu: Add ghc-resourcet.,
Paul <=
- 125/153: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/21
- 121/153: gnu: Add ghc-cookie., Paul, 2015/10/21
- 113/153: gnu: Add ghc-cmdargs., Paul, 2015/10/21
- 120/153: gnu: Add ghc-parsers., Paul, 2015/10/21
- 136/153: gnu: Add ghc-cgi., Paul, 2015/10/21
- 135/153: gnu: Add ghc-multipart., Paul, 2015/10/21
- 139/153: gnu: Add ghc-xhtml., Paul, 2015/10/21
- 129/153: gnu: Add ghc-trifecta., Paul, 2015/10/21
- 128/153: gnu: Add ghc-cheapskate., Paul, 2015/10/21
- 106/153: gnu: Add ghc-reducers., Paul, 2015/10/21