From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul van der Walt Subject: [PATCH 100/105] gnu: Add ghc-vector-binary-instances. Date: Thu, 15 Oct 2015 17:36:13 +0200 Message-ID: <1444923378-10269-10-git-send-email-paul@denknerd.org> References: <1444923378-10269-1-git-send-email-paul@denknerd.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52169) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmka7-0005qh-5Q for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zmka4-0006r9-IR for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:39 -0400 Received: from mx01.mykolab.com ([95.128.36.1]:32873 helo=mx-out02.mykolab.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zmka4-0006qz-CC for guix-devel@gnu.org; Thu, 15 Oct 2015 11:36:36 -0400 Received: from mx08.mykolab.com (unknown [10.20.7.48]) by mx-out02.mykolab.com (Postfix) with ESMTPS id B227862319 for ; Thu, 15 Oct 2015 17:36:31 +0200 (CEST) In-Reply-To: <1444923378-10269-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-vector-binary-instances): 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 be5b024..a8a8cb6 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -2623,6 +2623,36 @@ is also parametric in the input stream type.") mutable and immutable), with a powerful loop optimisation framework.") (license bsd-3))) +(define-public ghc-vector-binary-instances + (package + (name "ghc-vector-binary-instances") + (version "0.2.1.0") + (source + (origin + (method url-fetch) + (uri (string-append + "http://hackage.haskell.org/package/vector-binary-instances/vector-binary-instances-" + version + ".tar.gz")) + (sha256 + (base32 + "028rsf2w193rhs1gic5yvvrwidw9sblczcn10aw64npfc6502l4l")))) + (build-system haskell-build-system) + (propagated-inputs + `(("ghc-cereal" ,ghc-cereal))) + (inputs + `(("ghc-vector" ,ghc-vector))) + (home-page + "https://github.com/bos/vector-binary-instances") + (synopsis + "Instances of Data.Binary and Data.Serialize for vector") + (description + "Instances for Binary for the types defined in the vector package, making +it easy to serialize vectors to and from disk. We use the generic interface +to vectors, so all vector types are supported. Specific instances are +provided for unboxed, boxed and storable vectors.") + (license bsd-3))) + (define-public ghc-network (package (name "ghc-network") -- 2.6.1