{ lib, buildPythonPackage, fetchFromGitHub, # build-system setuptools, # tests pytestCheckHook, }: buildPythonPackage rec { pname = "unicode-rbnf"; version = "2.4.0"; pyproject = true; src = fetchFromGitHub { owner = "rhasspy"; repo = "unicode-rbnf"; tag = "v${version}"; hash = "sha256-t5QHZVBIRVyhqmgVno3Nql6W0Q91DZ8sJA+nFBdKkj4="; }; build-system = [ setuptools ]; pythonImportsCheck = [ "unicode_rbnf" ]; nativeCheckInputs = [ pytestCheckHook ]; meta = { changelog = "https://github.com/rhasspy/unicode-rbnf/blob/v${version}/CHANGELOG.md"; description = "Pure Python implementation of ICU's rule-based number format engine"; homepage = "https://github.com/rhasspy/unicode-rbnf"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hexa ]; }; }