[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/08: gnu: Add python-murmurhash.
From: |
guix-commits |
Subject: |
05/08: gnu: Add python-murmurhash. |
Date: |
Fri, 20 May 2022 18:18:07 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 4df064f37ae3934e8f5a0672ea3f54b8f1130cde
Author: Artyom V. Poptsov <poptsov.artyom@gmail.com>
AuthorDate: Sat May 14 22:22:06 2022 +0300
gnu: Add python-murmurhash.
* gnu/packages/python-xyz.scm (python-murmurhash): New variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
gnu/packages/python-xyz.scm | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1802867d17..3c4fa16d16 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -31418,3 +31418,34 @@ nested data structures in Python like lists and
dictionaries.")
of fast and robust hash functions. This library is a Python extension module
written in C.")
(license license:public-domain)))
+
+(define-public python-murmurhash
+ (package
+ (name "python-murmurhash")
+ (version "1.0.7")
+ (source (origin
+ (method url-fetch)
+ (uri (pypi-uri "murmurhash" version))
+ (sha256
+ (base32
+ "0vwkn98c703nvsigl2nz99rax2pafkx3djjfkgc49jiipmp3j2k3"))))
+ (build-system python-build-system)
+ (native-inputs (list python-cython python-pytest))
+ (inputs (list python python-murmurhash3))
+ (arguments
+ (list #:modules
+ '((ice-9 ftw) (ice-9 match)
+ (guix build utils)
+ (guix build python-build-system))
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'set-source-file-times-to-1980
+ (lambda _
+ (let ((circa-1980 (* 10 366 24 60 60)))
+ (ftw "."
+ (lambda (file stat flag)
+ (utime file circa-1980 circa-1980) #t))))))))
+ (home-page "https://github.com/explosion/murmurhash")
+ (synopsis "Cython bindings for MurmurHash2")
+ (description "This package provides Cython bindings for MurmurHash2.")
+ (license license:expat)))
- branch master updated (dd19b191d6 -> c95e9ddd6f), guix-commits, 2022/05/20
- 02/08: gnu: clamav: Use new style and G-expressions., guix-commits, 2022/05/20
- 05/08: gnu: Add python-murmurhash.,
guix-commits <=
- 01/08: Revert "installer: user: Remove useless filtering.", guix-commits, 2022/05/20
- 03/08: gnu: clamav: Update to 0.103.6 [fixes CVE-2022-{20803, 20770, 20796, 20771, 20785, 20792}]., guix-commits, 2022/05/20
- 06/08: gnu: python-geopandas: Fix build., guix-commits, 2022/05/20
- 07/08: gnu: liburcu: Fix license, guix-commits, 2022/05/20
- 08/08: gnu: lttng-ust: Fix license., guix-commits, 2022/05/20
- 04/08: gnu: Add python-murmurhash3., guix-commits, 2022/05/20