Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 907 B view raw
1{ lib, fetchPypi, buildPythonPackage, pytest, hypothesis, eth-utils }: 2 3buildPythonPackage rec { 4 pname = "rlp"; 5 version = "1.2.0"; 6 7 src = fetchPypi { 8 inherit pname version; 9 sha256 = "27273fc2dbc3513c1e05ea6b8af28aac8745fb09c164e39e2ed2807bf7e1b342"; 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}