From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 31/43] gnu: ghc-base-compat: New variable. Date: Thu, 15 Oct 2015 15:06:12 +0200 Message-ID: <1444914384-24847-7-git-send-email-paul@denknerd.org> References: <1444914384-24847-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35088) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmiF1-0003vF-Pi for guix-devel@gnu.org; Thu, 15 Oct 2015 09:06:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmiEx-00081F-HJ for guix-devel@gnu.org; Thu, 15 Oct 2015 09:06:43 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:48937 helo=mx-out03.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmiEx-000815-BA for guix-devel@gnu.org; Thu, 15 Oct 2015 09:06:39 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out03.mykolab.com (Postfix) with ESMTPS id 216252360C for ; Thu, 15 Oct 2015 15:06:34 +0200 (CEST) In-Reply-To: <1444914384-24847-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-base-compat): New variable. --- gnu/packages/haskell.scm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 9fb3190..46c3323 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2004,6 +2004,33 @@ from IO or any other base monad.") system.") (license bsd-3))) +(define-public ghc-base-compat + (package + (name "ghc-base-compat") + (version "0.8.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/base-compat/base-compat-" + version + ".tar.gz")) + (sha256 + (base32 + "02m93hzgxg4bcnp7xcc2fdh2hrsc2h6fwl8hix5nx9k864kwf41q")))) + (build-system haskell-build-system) + (inputs + `(("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-hspec" ,ghc-hspec))) + (home-page + "https://hackage.haskell.org/package/base-compat") + (synopsis + "Compiler compatibility library") + (description + "Provides functions available in later versions of base to a wider range +of compilers, without requiring you to use CPP pragmas in your code.") + (license bsd-3))) + (define-public ghc-easy-file (package (name "ghc-easy-file") -- 2.6.1