[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
118/154: gnu: Add ghc-resourcet.
From: |
Paul |
Subject: |
118/154: gnu: Add ghc-resourcet. |
Date: |
Thu, 22 Oct 2015 17:23:52 +0000 |
toothbrush pushed a commit to branch wip-haskell-platform-7.10.2-a
in repository guix.
commit 95dc243493273039444caf74cf13aa8173891cc7
Author: Paul van der Walt <address@hidden>
Date: Thu Oct 22 13:18:54 2015 +0200
gnu: Add ghc-resourcet.
* gnu/packages/haskell.scm (ghc-resourcet): New variable.
---
gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 6d479d2..3e6db05 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -523,6 +523,37 @@ hopefully make them easier to read. HLint also makes it
easy to disable
unwanted suggestions, and to add your own custom suggestions.")
(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 cpphs
(package
(name "cpphs")
- 110/154: gnu: Add ghc-free., (continued)
- 110/154: gnu: Add ghc-free., Paul, 2015/10/22
- 106/154: gnu: Add ghc-semigroupoids., Paul, 2015/10/22
- 112/154: gnu: Add ghc-simple-reflect., Paul, 2015/10/22
- 102/154: gnu: Add HScolour., Paul, 2015/10/22
- 111/154: gnu: Add ghc-adjunctions., Paul, 2015/10/22
- 113/154: gnu: Add cpphs., Paul, 2015/10/22
- 114/154: gnu: Add ghc-cmdargs., Paul, 2015/10/22
- 117/154: gnu: Add hlint., Paul, 2015/10/22
- 115/154: gnu: Add ghc-happy., Paul, 2015/10/22
- 120/154: gnu: Add ghc-xss-sanitize., Paul, 2015/10/22
- 118/154: gnu: Add ghc-resourcet.,
Paul <=
- 119/154: gnu: Add ghc-streaming-commons., Paul, 2015/10/22
- 116/154: gnu: Add ghc-haskell-src-exts., Paul, 2015/10/22
- 123/154: gnu: Add ghc-wai., Paul, 2015/10/22
- 122/154: gnu: Add ghc-cookie., Paul, 2015/10/22
- 124/154: gnu: Add ghc-wai-logger., Paul, 2015/10/22
- 127/154: gnu: Add ghc-kan-extensions., Paul, 2015/10/22
- 128/154: gnu: Add ghc-lens., Paul, 2015/10/22
- 126/154: gnu: Add ghc-vector-binary-instances., Paul, 2015/10/22
- 121/154: gnu: Add ghc-parsers., Paul, 2015/10/22
- 129/154: gnu: Add ghc-cheapskate., Paul, 2015/10/22