From mboxrd@z Thu Jan 1 00:00:00 1970 From: ng0 Subject: [PATCH 04/23] gnu: Add ghc-cryptohash. Date: Fri, 2 Sep 2016 09:39:51 +0000 Message-ID: <20160902094010.11483-4-ng0@we.make.ritual.n0.is> References: <20160902094010.11483-1-ng0@we.make.ritual.n0.is> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37738) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxa-00017Z-0g for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bfkxX-0008HA-Qb for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:28 -0400 Received: from mithlond.libertad.in-berlin.de ([2001:67c:1400:2490::1]:43131 helo=beleriand.n0.is) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bfkxX-0008C6-GH for guix-devel@gnu.org; Fri, 02 Sep 2016 05:40:27 -0400 In-Reply-To: <20160902094010.11483-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-cryptohash): New variable. --- gnu/packages/haskell.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index 6fda9d8..1b6e788 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -6484,4 +6484,36 @@ implement a custom format if needed. Serialisation speeds of over 1 G\\/sec hav been observed, so this library should be suitable for high performance scenarios.") (license license:bsd-3))) +(define-public ghc-cryptohash + (package + (name "ghc-cryptohash") + (version "0.11.9") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/cryptohash/cryptohash-" + version ".tar.gz")) + (sha256 + (base32 + "1yr2iyb779znj79j3fq4ky8l1y8a600a2x1fx9p5pmpwq5zq93y2")))) + (build-system haskell-build-system) + (inputs + `(("ghc-byteable" ,ghc-byteable) + ("ghc-cryptonite" ,ghc-cryptonite) + ("ghc-memory" ,ghc-memory) + ("ghc-hunit" ,ghc-hunit) + ("ghc-quickcheck" ,ghc-quickcheck) + ("ghc-tasty" ,ghc-tasty) + ("ghc-tasty-quickcheck" ,ghc-tasty-quickcheck) + ("ghc-tasty-hunit" ,ghc-tasty-hunit))) + (home-page "http://github.com/vincenthz/hs-cryptohash") + (synopsis "collection of crypto hashes, fast, pure and practical") + (description + "A collection of crypto hashes, with a practical incremental and one-pass, +pure APIs, with performance close to the fastest implementations available in +other languages. The implementations are made in C with a haskell FFI wrapper +that hide the C implementation.") + (license license:bsd-3))) + ;;; haskell.scm ends here -- 2.9.3