mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 22:53:42 +00:00
31 lines
662 B
Nix
31 lines
662 B
Nix
{ lib
|
|
, fetchPypi
|
|
, buildPythonPackage
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "mmh3";
|
|
version = "4.0.1";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
hash = "sha256-rYvmldxORKeWMXSLpVYtgD8KxC02prl6U6yoSnCAk4U=";
|
|
};
|
|
|
|
pythonImportsCheck = [
|
|
"mmh3"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Python wrapper for MurmurHash3, a set of fast and robust hash functions";
|
|
homepage = "https://github.com/hajimes/mmh3";
|
|
changelog = "https://github.com/hajimes/mmh3/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.cc0;
|
|
maintainers = with maintainers; [ ];
|
|
};
|
|
}
|