1{ lib
2, buildPythonPackage
3, fetchPypi
4, pytestCheckHook
5, pythonOlder
6, setuptools
7}:
8
9buildPythonPackage rec {
10 pname = "msgpack";
11 version = "1.0.4";
12 format = "setuptools";
13
14 disabled = pythonOlder "3.6";
15
16 src = fetchPypi {
17 inherit pname version;
18 hash = "sha256-9dhpwY8DAgLrQS8Iso0q/upVPWYTruieIA16yn7wH18=";
19 };
20
21 nativeBuildInputs = [
22 setuptools
23 ];
24
25 nativeCheckInputs = [
26 pytestCheckHook
27 ];
28
29 pythonImportsCheck = [
30 "msgpack"
31 ];
32
33 meta = with lib; {
34 description = "MessagePack serializer implementation";
35 homepage = "https://github.com/msgpack/msgpack-python";
36 changelog = "https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst";
37 license = licenses.asl20;
38 maintainers = with maintainers; [ SuperSandro2000 ];
39 };
40}