From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 084/105] gnu: Add ghc-free. Date: Thu, 15 Oct 2015 17:33:25 +0200 Message-ID: <1444923226-9811-18-git-send-email-paul@denknerd.org> References: <1444914384-24847-1-git-send-email-paul@denknerd.org> <1444923226-9811-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50398) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXs-00042b-2i for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkXo-0005hP-5U for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:20 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:42253 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXn-0005hJ-VF for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:16 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out01.mykolab.com (Postfix) with ESMTPS id 3EED96229C for ; Thu, 15 Oct 2015 17:34:14 +0200 (CEST) In-Reply-To: <1444923226-9811-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-free): New variable. --- gnu/packages/haskell.scm | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index d4206ca..aa05b8a 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -3325,6 +3325,43 @@ where every element did not have to have an inverse, thus the name semigroup.") (license bsd-3))) +(define-public ghc-free + (package + (name "ghc-free") + (version "4.12.1") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/free/free-" + version + ".tar.gz")) + (sha256 + (base32 + "0sr8phvrb4ny8j1wzq55rdn8q4br23q4pw2j276npr844825jr9p")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-prelude-extras" ,ghc-prelude-extras) + ("ghc-profunctors" ,ghc-profunctors) + ("ghc-exceptions" ,ghc-exceptions))) + (inputs + `(("ghc-bifunctors" ,ghc-bifunctors) + ("ghc-comonad" ,ghc-comonad) + ("ghc-distributive" ,ghc-distributive) + ("ghc-mtl" ,ghc-mtl) + ("ghc-semigroupoids" ,ghc-semigroupoids) + ("ghc-semigroups" ,ghc-semigroups))) + (home-page "http://github.com/ekmett/free/") + (synopsis "Monads for free") + (description + "Free monads are useful for many tree-like structures and domain specific +languages. If f is a 'Functor' then the free 'Monad' on f is the type of +trees whose nodes are labeled with the constructors of f. The word +\"free\" is used in the sense of \"unrestricted\" rather than +\"zero-cost\": Free f makes no constraining assumptions beyond those +given by f and the definition of 'Monad'.") + (license bsd-3))) + (define-public ghc-fast-logger (package (name "ghc-fast-logger") -- 2.6.1