2018-02-10 13:19:13 +00:00
|
|
|
{ buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pytest
|
|
|
|
, lib
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "msgpack";
|
2020-12-21 21:40:29 +00:00
|
|
|
version = "1.0.2";
|
2018-02-10 13:19:13 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-21 21:40:29 +00:00
|
|
|
sha256 = "1109s2yynrahwi64ikax68hx0mbclz8p35afmpphw5dwynb49q7s";
|
2018-02-10 13:19:13 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
py.test
|
|
|
|
'';
|
|
|
|
|
|
|
|
checkInputs = [ pytest ];
|
|
|
|
|
|
|
|
meta = {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/msgpack/msgpack-python";
|
2018-02-10 13:19:13 +00:00
|
|
|
description = "MessagePack serializer implementation for Python";
|
2020-12-21 21:47:34 +00:00
|
|
|
changelog = "https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst";
|
2018-02-10 13:19:13 +00:00
|
|
|
license = lib.licenses.asl20;
|
|
|
|
# maintainers = ?? ;
|
|
|
|
};
|
|
|
|
}
|