at 22.05-pre 907 B view raw
1{ lib, fetchPypi, buildPythonPackage, pytest, hypothesis, eth-utils }: 2 3buildPythonPackage rec { 4 pname = "rlp"; 5 version = "2.0.1"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "665e8312750b3fc5f7002e656d05b9dcb6e93b6063df40d95c49ad90c19d1f0e"; 10 }; 11 12 checkInputs = [ pytest hypothesis ]; 13 propagatedBuildInputs = [ eth-utils ]; 14 15 # setuptools-markdown uses pypandoc which is broken at the moment 16 preConfigure = '' 17 substituteInPlace setup.py --replace \'setuptools-markdown\' "" 18 substituteInPlace setup.py --replace "long_description_markdown_filename='README.md'," "" 19 ''; 20 21 checkPhase = '' 22 pytest . 23 ''; 24 25 meta = { 26 description = "A package for encoding and decoding data in and from Recursive Length Prefix notation"; 27 homepage = "https://github.com/ethereum/pyrlp"; 28 license = lib.licenses.mit; 29 maintainers = with lib.maintainers; [ gebner ]; 30 }; 31}