From patchwork Sun Sep 18 16:09:54 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: non such X-Patchwork-Id: 15720 Received: (qmail 26647 invoked by uid 89); 18 Sep 2016 16:12:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=lift, concrete, Programming, stacks X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 18 Sep 2016 16:11:53 +0000 Received: from localhost ([::1]:50730 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bleh5-0003xn-Hp for patchwork@sourceware.org; Sun, 18 Sep 2016 12:11:51 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegL-0003He-9K for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blegJ-00077t-2Q for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:04 -0400 Received: from aibo.runbox.com ([91.220.196.211]:34116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegI-00077K-RY for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:02 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1blegI-0000um-AU for guix-devel@gnu.org; Sun, 18 Sep 2016 18:11:02 +0200 Received: from xd9bb9a67.dyn.telefonica.de ([217.187.154.103] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1bleg7-0002Hs-Hr; Sun, 18 Sep 2016 18:10:51 +0200 From: ng0 To: guix-devel@gnu.org Subject: [PATCH 14/42] gnu: Add ghc-transformers. Date: Sun, 18 Sep 2016 16:09:54 +0000 Message-Id: <20160918161022.26135-14-ng0@we.make.ritual.n0.is> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> References: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.220.196.211 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * 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 7ec12ed..ac86c42 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6746,4 +6746,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