Skip to content

Commit

Permalink
pythonPackages.rlp: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
jluttine committed Sep 12, 2018
1 parent 9f8e614 commit f053daf
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions pkgs/development/python-modules/rlp/default.nix
@@ -1,4 +1,4 @@
{ lib, fetchPypi, buildPythonPackage, pytest }:
{ lib, fetchPypi, buildPythonPackage, pytest, hypothesis, eth-utils }:

buildPythonPackage rec {
pname = "rlp";
Expand All @@ -9,8 +9,18 @@ buildPythonPackage rec {
sha256 = "040fb5172fa23d27953a886c40cac989fc031d0629db934b5a9edcd2fb28df1e";
};

checkInputs = [ pytest ];
propagatedBuildInputs = [ ];
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";
Expand Down

0 comments on commit f053daf

Please sign in to comment.