at 23.11-beta 767 B view raw
1{ lib 2, fetchFromGitHub 3, buildPythonPackage 4, eth-utils 5, hypothesis 6, pytestCheckHook 7}: 8 9buildPythonPackage rec { 10 pname = "rlp"; 11 version = "3.0.0"; 12 13 src = fetchFromGitHub { 14 owner = "ethereum"; 15 repo = "pyrlp"; 16 rev = "v${version}"; 17 hash = "sha256-GRCq4FU38e08fREg5fweig5Y60jLT2k3Yj1Jk8OA6XY="; 18 }; 19 20 postPatch = '' 21 substituteInPlace setup.py \ 22 --replace "'setuptools-markdown'" "" 23 ''; 24 25 propagatedBuildInputs = [ 26 eth-utils 27 ]; 28 29 nativeCheckInputs = [ 30 hypothesis 31 pytestCheckHook 32 ]; 33 34 pythonImportsCheck = [ "rlp" ]; 35 36 meta = with lib; { 37 description = "RLP serialization library"; 38 homepage = "https://github.com/ethereum/pyrlp"; 39 license = licenses.mit; 40 maintainers = with maintainers; [ ]; 41 }; 42}