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