nixpkgs/pkgs/development/python-modules/rlp/default.nix
R. RyanTM 9533ea5a9b python37Packages.rlp: 1.0.3 -> 1.1.0
Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
https://repology.org/metapackage/python3.7-rlp/versions
2019-01-27 03:23:20 -08:00

31 lines
895 B
Nix

{ lib, fetchPypi, buildPythonPackage, pytest, hypothesis, eth-utils }:
buildPythonPackage rec {
pname = "rlp";
version = "1.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0742hdnhwcx1bm7pdk83290rxfcb0i2xskgl8yn6lg8fql1hms7b";
};
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 ];
};
}