{ lib, fetchFromGitHub, setuptools, buildPythonPackage, eth-utils, hypothesis, pytestCheckHook, pydantic, }: buildPythonPackage rec { pname = "rlp"; version = "4.1.0"; pyproject = true; src = fetchFromGitHub { owner = "ethereum"; repo = "pyrlp"; rev = "v${version}"; hash = "sha256-moerdcAJXqhlzDnTlvxL3Nzz485tOzJVCPlGrof80eQ="; }; build-system = [ setuptools ]; propagatedBuildInputs = [ eth-utils ]; nativeCheckInputs = [ hypothesis pytestCheckHook pydantic ]; pythonImportsCheck = [ "rlp" ]; disabledTests = [ "test_install_local_wheel" ]; meta = with lib; { description = "RLP serialization library"; homepage = "https://github.com/ethereum/pyrlp"; license = licenses.mit; maintainers = [ ]; }; }