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