at 25.11-pre 772 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 buildPythonPackage, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "mmh3"; 11 version = "5.1.0"; 12 pyproject = true; 13 14 src = fetchFromGitHub { 15 owner = "hajimes"; 16 repo = "mmh3"; 17 tag = "v${version}"; 18 hash = "sha256-56LrJuoBvhGgw+w4GIQ0XEQtf5oR87el+gZxgBYkyx0="; 19 }; 20 21 build-system = [ setuptools ]; 22 23 pythonImportsCheck = [ "mmh3" ]; 24 25 nativeCheckInputs = [ pytestCheckHook ]; 26 27 meta = { 28 description = "Python wrapper for MurmurHash3, a set of fast and robust hash functions"; 29 homepage = "https://github.com/hajimes/mmh3"; 30 changelog = "https://github.com/hajimes/mmh3/blob/v${version}/CHANGELOG.md"; 31 license = lib.licenses.cc0; 32 maintainers = [ lib.maintainers.sarahec ]; 33 }; 34}