From patchwork Sun Sep 18 16:09:42 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: non such X-Patchwork-Id: 15715 Received: (qmail 26388 invoked by uid 89); 18 Sep 2016 16:11:32 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Checked: by ClamAV 0.99.2 on sourceware.org X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 spammy=Hx-languages-length:1664, efficiently, scenarios X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RP_MATCHES_RCVD, SPF_PASS autolearn=ham version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on sourceware.org X-Spam-Level: X-HELO: lists.gnu.org Received: from lists.gnu.org (HELO lists.gnu.org) (208.118.235.17) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 18 Sep 2016 16:11:21 +0000 Received: from localhost ([::1]:50724 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blega-0003Nu-2E for patchwork@sourceware.org; Sun, 18 Sep 2016 12:11:20 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60539) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bleg0-00031C-Kp for guix-devel@gnu.org; Sun, 18 Sep 2016 12:10:45 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1blefx-0006lH-9C for guix-devel@gnu.org; Sun, 18 Sep 2016 12:10:44 -0400 Received: from aibo.runbox.com ([91.220.196.211]:34079) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1blefx-0006jW-26 for guix-devel@gnu.org; Sun, 18 Sep 2016 12:10:41 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1bleft-0000eQ-PV for guix-devel@gnu.org; Sun, 18 Sep 2016 18:10:37 +0200 Received: from xd9bb9a67.dyn.telefonica.de ([217.187.154.103] helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1blefn-00025b-5U; Sun, 18 Sep 2016 18:10:31 +0200 From: ng0 To: guix-devel@gnu.org Subject: [PATCH 02/42] gnu: Add ghc-binary. Date: Sun, 18 Sep 2016 16:09:42 +0000 Message-Id: <20160918161022.26135-2-ng0@we.make.ritual.n0.is> X-Mailer: git-send-email 2.10.0 In-Reply-To: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> References: <20160918161022.26135-1-ng0@we.make.ritual.n0.is> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 91.220.196.211 X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list 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+patchwork=sourceware.org@gnu.org Sender: "Guix-devel" * gnu/packages/haskell.scm (ghc-binary): New variable. --- gnu/packages/haskell.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index edb098a..3934c17 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6453,4 +6453,35 @@ Epigram and Agda.") data quickly and efficiently, using the ByteString type.") (license license:bsd-3))) +(define-public ghc-binary + (package + (name "ghc-binary") + (version "0.8.4.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/binary/binary-" + version ".tar.gz")) + (sha256 + (base32 + "1fp7wxnf57cjzhbb7rgqs6fgws4690zh0dxgl924dj4nzq0cf4wd")))) + (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-hunit" ,ghc-hunit))) + (home-page "https://github.com/kolmodin/binary") + (synopsis + "Binary serialisation for Haskell values using lazy ByteStrings") + (description + "Efficient, pure binary serialisation using lazy ByteStrings. Haskell values +may be encoded to and from binary formats, written to disk as binary, or sent over +the network. The format used can be automatically generated, or you can choose to +implement a custom format if needed. Serialisation speeds of over 1 G\\/sec have +been observed, so this library should be suitable for high performance scenarios.") + (license license:bsd-3))) + ;;; haskell.scm ends here