1{ buildPythonPackage
2, lib
3, fetchPypi
4, glibcLocales
5, python
6}:
7
8buildPythonPackage rec {
9 pname = "u-msgpack-python";
10 version = "2.7.0";
11
12 src = fetchPypi {
13 inherit pname version;
14 sha256 = "996e4c4454771f0ff0fd2a7566b1a159d305d3611cd755addf444e3533e2bc54";
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}