Something went wrong. Try again.
lol
Something went wrong. Try again.
903 B · 52 lines
Nix
at master
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253{ lib, buildPythonPackage, fetchFromGitHub, setuptools, eth-hash, eth-utils, hexbytes, pytestCheckHook, rlp, pydantic,}:
buildPythonPackage rec { pname = "eth-rlp"; version = "2.2.0"; pyproject = true;
src = fetchFromGitHub { owner = "ethereum"; repo = "eth-rlp"; rev = "v${version}"; hash = "sha256-e8nPfxk3OnFEcPnfTy1IEUCHVId6E/ssNOUeAe331+U="; };
build-system = [ setuptools ];
propagatedBuildInputs = [ hexbytes eth-utils rlp ];
nativeCheckInputs = [ pytestCheckHook pydantic ] ++ eth-hash.optional-dependencies.pycryptodome;
pythonImportsCheck = [ "eth_rlp" ];
disabledTests = [ "test_install_local_wheel" ];
meta = { description = "RLP definitions for common Ethereum objects"; homepage = "https://github.com/ethereum/eth-rlp"; license = lib.licenses.mit; maintainers = [ ]; };}