From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 15/43] gnu: Add ghc-transformers. Date: Sun, 4 Sep 2016 16:17:14 +0000 Message-ID: <20160904161742.27197-15-ng0@we.make.ritual.n0.is> References: <20160904161742.27197-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54058) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7N-0005JA-Ak for guix-devel@gnu.org; Sun, 04 Sep 2016 12:18:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bga7K-0005uw-WC for guix-devel@gnu.org; Sun, 04 Sep 2016 12:18:00 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:56003 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bga7K-0005re-Ml for guix-devel@gnu.org; Sun, 04 Sep 2016 12:17:58 -0400 In-Reply-To: <20160904161742.27197-1-ng0@we.make.ritual.n0.is> 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" To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-transformers): New variable. --- gnu/packages/haskell.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 8236ddb..7e65b52 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6766,4 +6766,33 @@ permissions are not preserved. It also provides features for random access to archive content using an index.") (license license:bsd-3))) +(define-public ghc-transformers + (package + (name "ghc-transformers") + (version "0.5.2.0") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/transformers/transformers-" + version ".tar.gz")) + (sha256 + (base32 + "1qkhi8ssf8c4jnmrw9dzym3igqbzq7h48iisaykdfzdsm09qfh3c")))) + (build-system haskell-build-system) + (home-page "http://hackage.haskell.org/package/transformers") + (synopsis "Concrete functor and monad transformers") + (description + "A portable library of functor and monad transformers, inspired by the paper +'Functional Programming with Overloading and Higher-Order Polymorphism', +by Mark P Jones. This package contains the monad transformer class and IO monad class, +concrete functor and monad transformers, each with associated operations and functions +to lift operations associated with other transformers. The package can be used on +its own in portable Haskell code, in which case operations need to be manually lifted +through transformer stacks. Alternatively, it can be used with the +non-portable monad classes in the @code{mtl} or @code{monads-tf} packages, +which automatically lift operations introduced by monad transformers through +other transformers.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.9.3