at master 795 B view raw
1{ 2 lib, 3 fetchFromGitHub, 4 setuptools, 5 buildPythonPackage, 6 eth-utils, 7 hypothesis, 8 pytestCheckHook, 9 pydantic, 10}: 11 12buildPythonPackage rec { 13 pname = "rlp"; 14 version = "4.1.0"; 15 pyproject = true; 16 17 src = fetchFromGitHub { 18 owner = "ethereum"; 19 repo = "pyrlp"; 20 rev = "v${version}"; 21 hash = "sha256-moerdcAJXqhlzDnTlvxL3Nzz485tOzJVCPlGrof80eQ="; 22 }; 23 24 build-system = [ setuptools ]; 25 26 propagatedBuildInputs = [ eth-utils ]; 27 28 nativeCheckInputs = [ 29 hypothesis 30 pytestCheckHook 31 pydantic 32 ]; 33 34 pythonImportsCheck = [ "rlp" ]; 35 36 disabledTests = [ "test_install_local_wheel" ]; 37 38 meta = with lib; { 39 description = "RLP serialization library"; 40 homepage = "https://github.com/ethereum/pyrlp"; 41 license = licenses.mit; 42 maintainers = [ ]; 43 }; 44}