guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: gnu: Add ghc-murmur-hash.


From: Ricardo Wurmus
Subject: 02/08: gnu: Add ghc-murmur-hash.
Date: Wed, 16 Aug 2017 11:07:46 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit a623fd7fedcc4ea4e3b86f7fdf04872b9c5042de
Author: Alex Vong <address@hidden>
Date:   Mon Aug 7 15:05:36 2017 +0800

    gnu: Add ghc-murmur-hash.
    
    * gnu/packages/haskell.scm (ghc-murmur-hash): New variable.
    
    Signed-off-by: Ricardo Wurmus <address@hidden>
---
 gnu/packages/haskell.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 00c5994..971981d 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1881,6 +1881,28 @@ combine hash values.")
 It includes hashing 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
+     "This package provides an implementation of MurmurHash2, a good, fast,
+general-purpose, non-cryptographic hashing function.  See
address@hidden://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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]