python3Packages.mmh3: 4.1.0 -> 5.0.1
https://github.com/hajimes/mmh3/blob/v5.0.1/CHANGELOG.md
This commit is contained in:
@@ -1,24 +1,32 @@
|
||||
{
|
||||
lib,
|
||||
fetchPypi,
|
||||
fetchFromGitHub,
|
||||
buildPythonPackage,
|
||||
pythonOlder,
|
||||
setuptools,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "mmh3";
|
||||
version = "4.1.0";
|
||||
format = "setuptools";
|
||||
version = "5.0.1";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
disabled = pythonOlder "3.8";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
hash = "sha256-oc8lNIuazSKd2kZKCU1hcPR9KFCh/Ldio7YXLSzmyko=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "hajimes";
|
||||
repo = "mmh3";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-no3wbBxEz1UPiN25HvZGAUV1QxZydJB0Hb2Ib9ZrAUY=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
|
||||
pythonImportsCheck = [ "mmh3" ];
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Python wrapper for MurmurHash3, a set of fast and robust hash functions";
|
||||
homepage = "https://github.com/hajimes/mmh3";
|
||||
|
||||
Reference in New Issue
Block a user