@@ -136,6 +136,7 @@
#:use-module (gnu packages crypto)
#:use-module (gnu packages databases)
#:use-module (gnu packages dbm)
+ #:use-module (gnu packages digest)
#:use-module (gnu packages djvu)
#:use-module (gnu packages docker)
#:use-module (gnu packages enchant)
@@ -13036,6 +13037,31 @@ fast xml and html manipulation.")
@end itemize")
(license license:bsd-2)))
+(define-public python-xxhash
+ (package
+ (name "python-xxhash")
+ (version "2.0.2")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "xxhash" version))
+ (sha256
+ (base32 "0jbvz19acznq00544gcsjg05fkvrmwbnwdfgrvwss3i1ys6avgmp"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'use-system-xxhash
+ (lambda _
+ (setenv "XXHASH_LINK_SO" "1"))))))
+ (inputs
+ `(("xxhash" ,xxhash)))
+ (home-page "https://github.com/ifduyue/python-xxhash")
+ (synopsis "Python binding for xxHash")
+ (description "This package provides a Python interface binding for the
+xxHash non-cryptographic hash algorithm.")
+ (license license:bsd-2)))
+
(define-public python-anyjson
(package
(name "python-anyjson")