From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 068/105] gnu: Add ghc-scientific. Date: Thu, 15 Oct 2015 17:33:09 +0200 Message-ID: <1444923226-9811-2-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]:49945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXZ-0003nh-3b for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmkXW-0005SZ-Ub for guix-devel@gnu.org; Thu, 15 Oct 2015 11:34:01 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:42226 helo=mx-out01.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmkXW-0005S2-Mw for guix-devel@gnu.org; Thu, 15 Oct 2015 11:33:58 -0400 Received: from mx03.mykolab.com (mx03.mykolab.com [10.20.7.101]) by mx-out01.mykolab.com (Postfix) with ESMTPS id 0BF4562803 for ; Thu, 15 Oct 2015 17:33:57 +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-scientific): New variable. --- gnu/packages/haskell.scm | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 43184bd..437b0b0 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -3197,4 +3197,42 @@ splitting on substrings and replacing all occurrences of a substring (the first in case of overlaps) with another.") (license bsd-3))) +(define-public ghc-scientific + (package + (name "ghc-scientific") + (version "0.3.4.2") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/scientific/scientific-" + version + ".tar.gz")) + (sha256 + (base32 + "0mimdkva0cgzaychr6whv9if29z0r5wwhkss9bmd4rz8kq1kgngn")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-hashable" ,ghc-hashable) + ("ghc-vector" ,ghc-vector))) + (inputs + `(("ghc-text" ,ghc-text) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-ant-xml" ,ghc-tasty-ant-xml) + ("ghc-tasty-hunit" ,ghc-tasty-hunit) + ("ghc-tasty-smallcheck" ,ghc-tasty-smallcheck) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-smallcheck" ,ghc-smallcheck) + ("ghc-quickcheck" ,ghc-quickcheck))) + (home-page + "https://github.com/basvandijk/scientific") + (synopsis + "Numbers represented using scientific notation") + (description + "Data.Scientific provides the number type 'Scientific'. Scientific +numbers are arbitrary precision and space efficient. They are represented +using .") + (license bsd-3))) + ;;; haskell.scm ends here -- 2.6.1