15 buildPythonPackage rec {
19 disabled = pythonOlder "3.6";
21 src = fetchFromGitHub {
25 hash = "sha256-k2pHM1eKPzoGxZlU6yT7bZMv4CCWGaZaSnFHSbT76Zo=";
32 propagatedBuildInputs = [
35 ] ++ lib.optional (!isPyPy) cytoolz
36 ++ lib.optional isPyPy toolz;
41 ] ++ eth-hash.optional-dependencies.pycryptodome;
43 # Removing a poorly written test case from test suite.
44 # TODO work with the upstream
46 "tests/functional-utils/test_type_inference.py"
49 pythonImportsCheck = [ "eth_utils" ];
52 changelog = "https://github.com/ethereum/eth-utils/blob/${src.rev}/docs/release_notes.rst";
53 description = "Common utility functions for codebases which interact with ethereum";
54 homepage = "https://github.com/ethereum/eth-utils";
55 license = lib.licenses.mit;
56 maintainers = with lib.maintainers; [ ];