python3Packages.block-io: update inputs
This commit is contained in:
parent
8aae0b20f3
commit
77f5a8eabc
1 changed files with 18 additions and 6 deletions
|
@ -1,8 +1,20 @@
|
|||
{ lib, fetchPypi, buildPythonPackage, base58, ecdsa, pycryptodome, requests, six, setuptools }:
|
||||
{ lib
|
||||
, fetchPypi
|
||||
, bitcoin-utils-fork-minimal
|
||||
, buildPythonPackage
|
||||
, base58
|
||||
, pycryptodome
|
||||
, requests
|
||||
, setuptools
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "block-io";
|
||||
version = "2.0.5";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
|
@ -11,24 +23,24 @@ buildPythonPackage rec {
|
|||
|
||||
propagatedBuildInputs = [
|
||||
base58
|
||||
ecdsa
|
||||
bitcoin-utils-fork-minimal
|
||||
pycryptodome
|
||||
requests
|
||||
six
|
||||
setuptools
|
||||
];
|
||||
|
||||
preConfigure = ''
|
||||
substituteInPlace setup.py \
|
||||
--replace "ecdsa==0.15" "ecdsa>=0.15" \
|
||||
--replace "base58==1.0.3" "base58>=1.0.3"
|
||||
--replace "base58==2.1.0" "base58>=2.1.0"
|
||||
'';
|
||||
|
||||
# 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" ];
|
||||
pythonImportsCheck = [
|
||||
"block_io"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Integrate Bitcoin, Dogecoin and Litecoin in your Python applications using block.io";
|
||||
|
|
Loading…
Reference in a new issue