1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 setuptools, 6 pytestCheckHook, 7}: 8 9buildPythonPackage rec { 10 pname = "pyicumessageformat"; 11 version = "1.0.0"; 12 pyproject = true; 13 build-system = [ setuptools ]; 14 15 src = fetchPypi { 16 inherit pname version; 17 hash = "sha256-s+l8DtEMKxA/DzpwGqZSlwDqCrZuDzsj3I5K7hgfyEA="; 18 }; 19 20 nativeCheckInputs = [ pytestCheckHook ]; 21 22 pythonImportsCheck = [ "pyicumessageformat" ]; 23 24 meta = with lib; { 25 description = "Unopinionated Python3 parser for ICU MessageFormat"; 26 homepage = "https://github.com/SirStendec/pyicumessageformat/"; 27 # Based on master, as upstream doesn't tag their releases on GitHub anymore 28 changelog = "https://github.com/SirStendec/pyicumessageformat/blob/master/CHANGELOG.md"; 29 license = licenses.mit; 30 maintainers = with maintainers; [ erictapen ]; 31 }; 32 33}