From 5cdf99afbd92e9181e9213979de7e7bbc02c41f9 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Mon, 7 Aug 2017 15:05:36 +0800 Subject: [PATCH 2/8] gnu: Add ghc-murmur-hash. * gnu/packages/haskell.scm (ghc-murmur-hash): New variable. --- gnu/packages/haskell.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index d054753b3..4b1543233 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -1880,6 +1880,27 @@ combine hash values.") functions for all basic Haskell98 types.") (license license:bsd-3))) +(define-public ghc-murmur-hash + (package + (name "ghc-murmur-hash") + (version "0.1.0.9") + (source + (origin + (method url-fetch) + (uri (string-append "https://hackage.haskell.org/package/murmur-hash" + "/murmur-hash-" version ".tar.gz")) + (sha256 + (base32 "1bb58kfnzvx3mpc0rc0dhqc1fk36nm8prd6gvf20gk6lxaadpfc9")))) + (build-system haskell-build-system) + (home-page "https://github.com/nominolo/murmur-hash") + (synopsis "MurmurHash2 implementation for Haskell") + (description + "Implements MurmurHash2, a good, fast, general-purpose, non-cryptographic +hashing function. See @url{https://sites.google.com/site/murmurhash/} for +details. This implementation is pure Haskell, so it might be a bit slower than +a C FFI binding.") + (license license:bsd-3))) + (define-public ghc-hunit (package (name "ghc-hunit") -- 2.13.4