diff --git a/pkgs/development/python-modules/msgpack/default.nix b/pkgs/development/python-modules/msgpack/default.nix index f519ebb89c48..18287c641989 100644 --- a/pkgs/development/python-modules/msgpack/default.nix +++ b/pkgs/development/python-modules/msgpack/default.nix @@ -1,29 +1,25 @@ { lib , buildPythonPackage -, fetchFromGitHub +, fetchPypi , pytestCheckHook , pythonOlder , setuptools -, cython_3 }: buildPythonPackage rec { pname = "msgpack"; - version = "1.0.7"; - pyproject = true; + version = "1.0.5"; + format = "setuptools"; - disabled = pythonOlder "3.8"; + disabled = pythonOlder "3.6"; - src = fetchFromGitHub { - owner = "msgpack"; - repo = "msgpack-python"; - rev = "refs/tags/v${version}"; - hash = "sha256-ayEyvKiTYPdhy4puUjtyGIR+jsTXd2HRINaAYxQGTZM="; + src = fetchPypi { + inherit pname version; + hash = "sha256-wHVUQoTq3Fzdxw9HVzMdmdy8FrK71ISdFfiq5M820xw="; }; nativeBuildInputs = [ setuptools - cython_3 ]; nativeCheckInputs = [