From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 18/42] gnu: Add ghc-bytestring. Date: Sun, 18 Sep 2016 16:09:58 +0000 Message-ID: <20160918161022.26135-18-ng0@we.make.ritual.n0.is> References: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60947) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegN-0003Jq-LH for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blegL-0007Bf-CY for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:06 -0400 Received: from aibo.runbox.com ([91.220.196.211]:34122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blegL-0007BF-6K for guix-devel@gnu.org; Sun, 18 Sep 2016 12:11:05 -0400 Received: from [10.9.9.212] (helo=mailfront12.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1blegK-0000uz-KO for guix-devel@gnu.org; Sun, 18 Sep 2016 18:11:04 +0200 In-Reply-To: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> 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" To: guix-devel@gnu.org * gnu/packages/haskell.scm (ghc-bytestring): 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 de300cc..48b7157 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6845,4 +6845,41 @@ Polymorphism', by Mark P Jones. This package is almost a compatible replacement the @code{mtl-tf} package.") (license license:bsd-3))) +(define-public ghc-bytestring + (package + (name "ghc-bytestring") + (version "0.10.8.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/bytestring/bytestring-" + version ".tar.gz")) + (sha256 + (base32 + "16zwb1p83z7vc5wlhvknpy80b5a2jxc5awx67rk52qnp9idmyq9d")))) + (build-system haskell-build-system) + (inputs + `(("ghc-random" ,ghc-random) + ("ghc-test-framework" ,ghc-test-framework) + ("ghc-test-framework-quickcheck2" ,ghc-test-framework-quickcheck2) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-test-framework-hunit" ,ghc-test-framework-hunit) + ("ghc-hunit" ,ghc-hunit) + ("ghc-byteorder" ,ghc-byteorder) + ("ghc-dlist" ,ghc-dlist) + ("ghc-mtl" ,ghc-mtl))) + (arguments + `(#:tests? #f)) ; Test number two becomes non-responsive for 20+ minutes + (home-page "https://github.com/haskell/bytestring") + (synopsis "Fast, compact, strict and lazy byte strings with a list interface") + (description + "An efficient compact, immutable byte string type (both strict and lazy) +suitable for binary or 8-bit character data. The 'ByteString' type represents +sequences of bytes or 8-bit characters. It is suitable for high performance use, +both in terms of large data quantities, or high speed requirements. The 'ByteString' +functions follow the same style as ordinary lists, so it is easy to convert code +from using 'String' to 'ByteString'.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.10.0