1{ buildPythonPackage 2, lib 3, fetchPypi 4, glibcLocales 5, unittestCheckHook 6}: 7 8buildPythonPackage rec { 9 pname = "u-msgpack-python"; 10 version = "2.8.0"; 11 format = "setuptools"; 12 13 src = fetchPypi { 14 inherit pname version; 15 hash = "sha256-uAGoPW7XXm30HkRRi08qnCIdwtpLzVOA46D+2lILxho="; 16 }; 17 18 env.LC_ALL="en_US.UTF-8"; 19 20 buildInputs = [ glibcLocales ]; 21 22 nativeCheckInputs = [ unittestCheckHook ]; 23 24 meta = { 25 description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python"; 26 homepage = "https://github.com/vsergeev/u-msgpack-python"; 27 changelog = "https://github.com/vsergeev/u-msgpack-python/blob/v${version}/CHANGELOG.md"; 28 license = lib.licenses.mit; 29 }; 30}