diff --git a/pkgs/development/python-modules/hexbytes/default.nix b/pkgs/development/python-modules/hexbytes/default.nix index d0b57d105963..dbde2de90b0f 100644 --- a/pkgs/development/python-modules/hexbytes/default.nix +++ b/pkgs/development/python-modules/hexbytes/default.nix @@ -9,14 +9,16 @@ buildPythonPackage rec { pname = "hexbytes"; - version = "0.3.0"; - disabled = pythonOlder "3.6"; + version = "0.3.1"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ethereum"; repo = "hexbytes"; - rev = "v${version}"; - hash = "sha256-EDFE5MUc+XMwe8BaXkz/DRchAZbS86X+AcShi5rx83M="; + rev = "refs/tags/v${version}"; + hash = "sha256-19oY/VPP6qkxHCkIgpC28fOOYKEYcNbVVGoHJmMmOl8="; }; nativeCheckInputs = [ @@ -25,11 +27,14 @@ buildPythonPackage rec { pytestCheckHook ]; - pythonImportsCheck = [ "hexbytes" ]; + pythonImportsCheck = [ + "hexbytes" + ]; meta = with lib; { description = "`bytes` subclass that decodes hex, with a readable console output"; homepage = "https://github.com/ethereum/hexbytes"; + changelog = "https://github.com/ethereum/hexbytes/blob/v${version}/docs/release_notes.rst"; license = licenses.mit; maintainers = with maintainers; [ SuperSandro2000 ]; };