2022-03-23 08:40:19 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2018-02-10 14:19:13 +01:00
|
|
|
, fetchPypi
|
2022-03-23 08:40:19 +01:00
|
|
|
, pytestCheckHook
|
2022-06-05 00:19:38 +02:00
|
|
|
, pythonOlder
|
2022-03-23 08:40:19 +01:00
|
|
|
, setuptools
|
2018-02-10 14:19:13 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "msgpack";
|
2022-06-05 00:19:38 +02:00
|
|
|
version = "1.0.4";
|
|
|
|
format = "setuptools";
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
2018-02-10 14:19:13 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2022-06-05 00:19:38 +02:00
|
|
|
hash = "sha256-9dhpwY8DAgLrQS8Iso0q/upVPWYTruieIA16yn7wH18=";
|
2018-02-10 14:19:13 +01:00
|
|
|
};
|
|
|
|
|
2022-03-23 08:40:19 +01:00
|
|
|
nativeBuildInputs = [
|
|
|
|
setuptools
|
|
|
|
];
|
2018-02-10 14:19:13 +01:00
|
|
|
|
2022-06-05 00:19:38 +02:00
|
|
|
checkInputs = [
|
|
|
|
pytestCheckHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"msgpack"
|
|
|
|
];
|
2018-02-10 14:19:13 +01:00
|
|
|
|
2022-03-23 08:40:19 +01:00
|
|
|
meta = with lib; {
|
2022-06-05 00:19:38 +02:00
|
|
|
description = "MessagePack serializer implementation";
|
2020-03-31 21:11:51 -04:00
|
|
|
homepage = "https://github.com/msgpack/msgpack-python";
|
2020-12-21 22:47:34 +01:00
|
|
|
changelog = "https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst";
|
2022-03-23 08:40:19 +01:00
|
|
|
license = licenses.asl20;
|
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
2018-02-10 14:19:13 +01:00
|
|
|
};
|
|
|
|
}
|