diff --git a/pkgs/development/python-modules/hexbytes/default.nix b/pkgs/development/python-modules/hexbytes/default.nix index 9bfb9918bf32..654471ca0f29 100644 --- a/pkgs/development/python-modules/hexbytes/default.nix +++ b/pkgs/development/python-modules/hexbytes/default.nix @@ -1,6 +1,7 @@ { lib , buildPythonPackage , fetchFromGitHub +, setuptools , eth-utils , hypothesis , pytestCheckHook @@ -9,18 +10,19 @@ buildPythonPackage rec { pname = "hexbytes"; - version = "0.3.1"; - format = "setuptools"; - - disabled = pythonOlder "3.7"; + version = "1.2.0"; + pyproject = true; + disabled = pythonOlder "3.8"; src = fetchFromGitHub { owner = "ethereum"; repo = "hexbytes"; rev = "refs/tags/v${version}"; - hash = "sha256-19oY/VPP6qkxHCkIgpC28fOOYKEYcNbVVGoHJmMmOl8="; + hash = "sha256-8st1nQiGApt+aNl8/cftYk0ZzA+MxbLyGi53UWUlAjM="; }; + build-system = [ setuptools]; + nativeCheckInputs = [ eth-utils hypothesis