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