mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 07:05:13 +00:00
9cf81e9174
Used during runtime
37 lines
970 B
Nix
37 lines
970 B
Nix
{ stdenv, fetchPypi, buildPythonPackage, base58, ecdsa, pycryptodome, requests, six, setuptools }:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "block-io";
|
|
version = "1.1.10";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "ba2e750085d9da4d1567932f3f719974fdc3f02649ee0d5c2f85fce592208723";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
base58
|
|
ecdsa
|
|
pycryptodome
|
|
requests
|
|
six
|
|
setuptools
|
|
];
|
|
|
|
preConfigure = ''
|
|
substituteInPlace setup.py \
|
|
--replace "ecdsa==0.13" "ecdsa>=0.13"
|
|
'';
|
|
|
|
# Tests needs a BlockIO API key to run properly
|
|
# https://github.com/BlockIo/block_io-python/blob/79006bc8974544b70a2d8e9f19c759941d32648e/test.py#L18
|
|
doCheck = false;
|
|
|
|
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;
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ nyanloutre ];
|
|
};
|
|
}
|