diff --git a/pkgs/development/python-modules/hexbytes/default.nix b/pkgs/development/python-modules/hexbytes/default.nix index 299670d97770..dbde2de90b0f 100644 --- a/pkgs/development/python-modules/hexbytes/default.nix +++ b/pkgs/development/python-modules/hexbytes/default.nix @@ -10,12 +10,14 @@ buildPythonPackage rec { pname = "hexbytes"; version = "0.3.1"; - disabled = pythonOlder "3.6"; + format = "setuptools"; + + disabled = pythonOlder "3.7"; src = fetchFromGitHub { owner = "ethereum"; repo = "hexbytes"; - rev = "v${version}"; + rev = "refs/tags/v${version}"; hash = "sha256-19oY/VPP6qkxHCkIgpC28fOOYKEYcNbVVGoHJmMmOl8="; }; @@ -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 ]; };