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