2016-12-25 10:11:45 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, lib
|
2018-06-23 14:27:58 +01:00
|
|
|
, fetchPypi
|
2016-12-25 10:11:45 +00:00
|
|
|
, glibcLocales
|
2016-12-25 15:17:33 +00:00
|
|
|
, python
|
2016-12-25 10:11:45 +00:00
|
|
|
}:
|
|
|
|
|
2017-11-09 11:26:09 +00:00
|
|
|
buildPythonPackage rec {
|
2016-12-25 10:11:45 +00:00
|
|
|
pname = "u-msgpack-python";
|
2019-10-16 10:43:16 +01:00
|
|
|
version = "2.5.2";
|
2016-12-25 10:11:45 +00:00
|
|
|
|
2018-06-23 14:27:58 +01:00
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-16 10:43:16 +01:00
|
|
|
sha256 = "09c85a8af77376034396681e76bf30c249a4fd8e5ebb239f8a468d3655f210d0";
|
2016-12-25 10:11:45 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
LC_ALL="en_US.UTF-8";
|
|
|
|
|
|
|
|
buildInputs = [ glibcLocales ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
2016-12-25 15:17:33 +00:00
|
|
|
${python.interpreter} -m unittest discover
|
2016-12-25 10:11:45 +00:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A portable, lightweight MessagePack serializer and deserializer written in pure Python";
|
|
|
|
homepage = https://github.com/vsergeev/u-msgpack-python;
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
};
|
|
|
|
|
2016-12-25 15:17:33 +00:00
|
|
|
}
|