diff --git a/pkgs/development/python-modules/msgpack/default.nix b/pkgs/development/python-modules/msgpack/default.nix index 805d347389c0..aa413190d4da 100644 --- a/pkgs/development/python-modules/msgpack/default.nix +++ b/pkgs/development/python-modules/msgpack/default.nix @@ -2,27 +2,37 @@ , buildPythonPackage , fetchPypi , pytestCheckHook +, pythonOlder , setuptools }: buildPythonPackage rec { pname = "msgpack"; - version = "1.0.3"; + version = "1.0.4"; + format = "setuptools"; + + disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - sha256 = "51fdc7fb93615286428ee7758cecc2f374d5ff363bdd884c7ea622a7a327a81e"; + hash = "sha256-9dhpwY8DAgLrQS8Iso0q/upVPWYTruieIA16yn7wH18="; }; nativeBuildInputs = [ setuptools ]; - checkInputs = [ pytestCheckHook ]; + checkInputs = [ + pytestCheckHook + ]; + + pythonImportsCheck = [ + "msgpack" + ]; meta = with lib; { + description = "MessagePack serializer implementation"; homepage = "https://github.com/msgpack/msgpack-python"; - description = "MessagePack serializer implementation for Python"; changelog = "https://github.com/msgpack/msgpack-python/blob/master/ChangeLog.rst"; license = licenses.asl20; maintainers = with maintainers; [ SuperSandro2000 ];