From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 074/105] gnu: Add ghc-distributive. Date: Thu, 15 Oct 2015 17:33:15 +0200 Message-ID: <1444923226-9811-8-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]:50075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXd-0003vN-UZ for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkXc-0005Yk-M6 for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:05 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:42237 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXc-0005YH-FQ for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:04 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id DFAE76229C for ; Thu, 15 Oct 2015 17:34:02 +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-distributive): New variable. --- gnu/packages/haskell.scm | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 09315ff..b21a366 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1253,6 +1253,36 @@ efficiently with network protocols and complicated text/binary file formats.") modifying, and extracting files from zip archives.") (license bsd-3))) +(define-public ghc-distributive + (package + (name "ghc-distributive") + (version "0.4.4") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/distributive/distributive-" + version + ".tar.gz")) + (sha256 + (base32 + "0s2ln9jv7bh4ri2y31178pvjl8x6nik5d0klx7j2b77yjlsgblc2")))) + (build-system haskell-build-system) + (arguments `(#:tests? #f)) ;; FIXME: fails with "cannot satisfy -package + ;; tagged-0.8.1". Suspected Cabal issue. + (propagated-inputs + `(("ghc-tagged" ,ghc-tagged) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (inputs + `(("ghc-doctest" ,ghc-doctest))) + (home-page + "http://github.com/ekmett/distributive/") + (synopsis + "Distributive functors") + (description + "Distributive functors for Haskell. Dual to Traversable.") + (license bsd-3))) + (define-public ghc-cereal (package (name "ghc-cereal") -- 2.6.1