From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 30/43] gnu: ghc-transformers-base: New variables. Date: Thu, 15 Oct 2015 15:06:11 +0200 Message-ID: <1444914384-24847-6-git-send-email-paul@denknerd.org> References: <1444914384-24847-1-git-send-email-paul@denknerd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35102) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmiF2-0003vN-Fm for guix-devel@gnu.org; Thu, 15 Oct 2015 09:06:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmiEx-000819-B3 for guix-devel@gnu.org; Thu, 15 Oct 2015 09:06:44 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:48936 helo=mx-out03.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmiEx-000810-0B for guix-devel@gnu.org; Thu, 15 Oct 2015 09:06:39 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out03.mykolab.com (Postfix) with ESMTPS id 97BE2235FE for ; Thu, 15 Oct 2015 15:06:32 +0200 (CEST) In-Reply-To: <1444914384-24847-1-git-send-email-paul@denknerd.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-transformers-base): New variable. * gnu/packages/haskell.scm (ghc-morph): New variable. * gnu/packages/haskell.scm (ghc-monad-control): New variable. * gnu/packages/haskell.scm (ghc-byteorder): New variable. * gnu/packages/haskell.scm (ghc-easy-file): New variable. --- gnu/packages/haskell.scm | 127 +++++++++++++++++++++++++++++++++++++++++= ++++++ 1 file changed, 127 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index dad9820..9fb3190 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -928,6 +928,35 @@ the paper \"Splittable Pseudorandom Number Generator= s Using Cryptographic Hashing\" by Claessen, Pa=C5=82ka for details and the rationale of the d= esign.") (license bsd-3))) =20 +(define-public ghc-transformers-base + (package + (name "ghc-transformers-base") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/transformers-base/trans= formers-base-" + version + ".tar.gz")) + (sha256 + (base32 + "11r3slgpgpra6zi2kjg3g60gvv17b1fh6qxipcpk8n86qx7lk8va")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-stm" ,ghc-stm))) + (inputs + `(("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page + "http://hackage.haskell.org/package/transformers-compat") + (synopsis + "Backported transformer library") + (description + "Backported versions of types that were added to transformers in +transformers 0.3 and 0.4 for users who need strict transformers 0.2 or 0= .3 +compatibility to run on old versions of the platform.") + (license bsd-3))) + (define-public ghc-transformers-compat (package (name "ghc-transformers-compat") @@ -1899,6 +1928,104 @@ boxes with different keys; hence the name. Also = provided is a /locker/ type, representing a store for a single element.") (license bsd-3))) =20 +(define-public ghc-mmorph + (package + (name "ghc-mmorph") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/mmorph/mmorph-" + version + ".tar.gz")) + (sha256 + (base32 + "0k5zlzmnixfwcjrqvhgi3i6xg532b0gsjvc39v5jigw69idndqr2")))) + (build-system haskell-build-system) + (home-page + "http://hackage.haskell.org/package/mmorph") + (synopsis "Monad morphisms") + (description + "This library provides monad morphism utilities, most commonly used= for +manipulating monad transformer stacks.") + (license bsd-3))) + +(define-public ghc-monad-control + (package + (name "ghc-monad-control") + (version "1.0.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/monad-control" + "/monad-control-" version ".tar.gz")) + (sha256 + (base32 + "07pn1p4m80wdd7gw62s4yny8rbvm60ka1q8qx5y1plznd8sbg179")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-stm" ,ghc-stm) + ("ghc-transformers-base" ,ghc-transformers-base) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page + "https://github.com/basvandijk/monad-control") + (synopsis + "Lift control operations, like exception catching, through monad +transformers") + (description + "This package defines the type class MonadBaseControl, a subset of +MonadBase into which generic control operations such as catch can be lif= ted +from IO or any other base monad.") + (license bsd-3))) + +(define-public ghc-byteorder + (package + (name "ghc-byteorder") + (version "1.0.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/byteorder/byteorder-" + version + ".tar.gz")) + (sha256 + (base32 + "06995paxbxk8lldvarqpb3ygcjbg4v8dk4scib1rjzwlhssvn85x")))) + (build-system haskell-build-system) + (home-page + "http://community.haskell.org/~aslatter/code/byteorder") + (synopsis + "Exposes the native endianness or byte ordering of the system.") + (description + "This package is for working with the native byte-ordering of the +system.") + (license bsd-3))) + +(define-public ghc-easy-file + (package + (name "ghc-easy-file") + (version "0.2.1") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/easy-file/easy-file-" + version + ".tar.gz")) + (sha256 + (base32 + "0v75081bx4qzlqy29hh639nzlr7dncwza3qxbzm9njc4jarf31pz")))) + (build-system haskell-build-system) + (home-page + "http://github.com/kazu-yamamoto/easy-file") + (synopsis "Cross-platform File handling") + (description + "Cross-platform File handling for Unix/Mac/Windows") + (license bsd-3))) + (define-public ghc-async (package (name "ghc-async") --=20 2.6.1