From 37740ec5b53a35a0274abf305ca8a565a93dd255 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Fran=C3=A7ois=20Roche?= Date: Sat, 17 Oct 2020 00:30:07 +0200 Subject: [PATCH] python3Packages.block-io: fix build Fix base58 dependency. --- pkgs/development/python-modules/block-io/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/block-io/default.nix b/pkgs/development/python-modules/block-io/default.nix index ec1229965e05..07d6cffe56c4 100644 --- a/pkgs/development/python-modules/block-io/default.nix +++ b/pkgs/development/python-modules/block-io/default.nix @@ -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";