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