From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 078/105] gnu: Add ghc-extra. Date: Thu, 15 Oct 2015 17:33:19 +0200 Message-ID: <1444923226-9811-12-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]:50265) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXj-00041N-Ii for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkXh-0005dN-GF for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:11 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:42244 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXh-0005dB-AF for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:09 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out01.mykolab.com (Postfix) with ESMTPS id BB2206229C for ; Thu, 15 Oct 2015 17:34:06 +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-extra): New variable. --- gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index f5f1dda..8e7da5c 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1391,6 +1391,32 @@ Finally, Text.Parse is a proposed replacement for the standard Read class, for better deserialisation of Haskell values from Strings.") (license lgpl2.1))) +(define-public ghc-extra + (package + (name "ghc-extra") + (version "1.4.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/extra/extra-" + version + ".tar.gz")) + (sha256 + (base32 + "1h9hxkrqrqscx420yz1lmivbrhi6jc3a5ap61vkxd2mhdgark9hf")))) + (build-system haskell-build-system) + (inputs `(("ghc-quickcheck" ,ghc-quickcheck))) + (home-page + "https://github.com/ndmitchell/extra#readme") + (synopsis "Extra Haskell functions") + (description + "A library of extra functions for the standard Haskell libraries. Most +functions are simple additions, filling out missing functionality. A few +functions are available in later versions of GHC, but this package makes them +available back to GHC 7.2.") + (license bsd-3))) + (define-public ghc-appar (package (name "ghc-appar") -- 2.6.1