python3Packages.block-io: fix build

Fix base58 dependency.
This commit is contained in:
Jean-François Roche 2020-10-17 00:30:07 +02:00 committed by Jon
parent b542b692e8
commit 37740ec5b5

View file

@ -20,13 +20,16 @@ buildPythonPackage rec {
preConfigure = ''
substituteInPlace setup.py \
--replace "ecdsa==0.13" "ecdsa>=0.13"
--replace "ecdsa==0.13" "ecdsa>=0.13" \
--replace "base58==1.0.3" "base58>=1.0.3"
'';
# Tests needs a BlockIO API key to run properly
# https://github.com/BlockIo/block_io-python/blob/79006bc8974544b70a2d8e9f19c759941d32648e/test.py#L18
doCheck = false;
pythonImportsCheck = [ "block_io" ];
meta = with stdenv.lib; {
description = "Integrate Bitcoin, Dogecoin and Litecoin in your Python applications using block.io";
homepage = "https://github.com/BlockIo/block_io-python";