diff --git a/pkgs/development/python-modules/eth-utils/default.nix b/pkgs/development/python-modules/eth-utils/default.nix index 2167c3e1abdd..a9e5790fcf4f 100644 --- a/pkgs/development/python-modules/eth-utils/default.nix +++ b/pkgs/development/python-modules/eth-utils/default.nix @@ -11,11 +11,12 @@ pythonOlder, setuptools, toolz, + mypy, }: buildPythonPackage rec { pname = "eth-utils"; - version = "4.0.0"; + version = "5.1.0"; pyproject = true; disabled = pythonOlder "3.6"; @@ -23,7 +24,7 @@ buildPythonPackage rec { owner = "ethereum"; repo = "eth-utils"; rev = "v${version}"; - hash = "sha256-k2pHM1eKPzoGxZlU6yT7bZMv4CCWGaZaSnFHSbT76Zo="; + hash = "sha256-uPzg1gUEsulQL2u22R/REHWx1ZtbMxvcXf6UgWqkDF4="; }; nativeBuildInputs = [ setuptools ]; @@ -36,19 +37,18 @@ buildPythonPackage rec { nativeCheckInputs = [ hypothesis pytestCheckHook + mypy ] ++ eth-hash.optional-dependencies.pycryptodome; - # Removing a poorly written test case from test suite. - # TODO work with the upstream - disabledTestPaths = [ "tests/functional-utils/test_type_inference.py" ]; - pythonImportsCheck = [ "eth_utils" ]; - meta = { + disabledTests = [ "test_install_local_wheel" ]; + + meta = with lib; { changelog = "https://github.com/ethereum/eth-utils/blob/${src.rev}/docs/release_notes.rst"; description = "Common utility functions for codebases which interact with ethereum"; homepage = "https://github.com/ethereum/eth-utils"; - license = lib.licenses.mit; - maintainers = [ ]; + license = licenses.mit; + maintainers = with maintainers; [ siraben ]; }; }