1{ lib
2, fetchPypi
3, buildPythonPackage
4, pythonOlder
5}:
6
7buildPythonPackage rec {
8 pname = "mmh3";
9 version = "4.0.1";
10 format = "setuptools";
11
12 disabled = pythonOlder "3.7";
13
14 src = fetchPypi {
15 inherit pname version;
16 hash = "sha256-rYvmldxORKeWMXSLpVYtgD8KxC02prl6U6yoSnCAk4U=";
17 };
18
19 pythonImportsCheck = [
20 "mmh3"
21 ];
22
23 meta = with lib; {
24 description = "Python wrapper for MurmurHash3, a set of fast and robust hash functions";
25 homepage = "https://github.com/hajimes/mmh3";
26 changelog = "https://github.com/hajimes/mmh3/blob/v${version}/CHANGELOG.md";
27 license = licenses.cc0;
28 maintainers = with maintainers; [ ];
29 };
30}