Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.2 kB · 61 lines
Nix
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162{ lib, buildPythonPackage, fetchFromGitHub, setuptools, # dependencies eth-typing, eth-utils, parsimonious, # nativeCheckInputs hypothesis, pytestCheckHook, pytest-xdist, eth-hash, pydantic,}:
buildPythonPackage rec { pname = "eth-abi"; version = "5.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "ethereum"; repo = "eth-abi"; tag = "v${version}"; hash = "sha256-/tyGm/lH72oZEKfTd25t+k0y3TuAZQg+hUABT4YCP2g="; };
build-system = [ setuptools ];
dependencies = [ eth-typing eth-utils parsimonious ];
nativeCheckInputs = [ hypothesis pytestCheckHook pytest-xdist pydantic ] ++ eth-hash.optional-dependencies.pycryptodome;
disabledTests = [ # boolean list representation changed "test_get_abi_strategy_returns_certain_strategies_for_known_type_strings" "test_install_local_wheel" ];
pythonImportsCheck = [ "eth_abi" ];
meta = { description = "Ethereum ABI utilities"; homepage = "https://github.com/ethereum/eth-abi"; changelog = "https://github.com/ethereum/eth-abi/blob/v${version}/docs/release_notes.rst"; license = lib.licenses.mit; maintainers = with lib.maintainers; [ hellwolf ]; };}