pythonPackages.block-io: init at 1.1.8

This commit is contained in:
nyanloutre 2018-06-26 16:28:36 +02:00
parent 3ffca639a4
commit 71a8aafbb8
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, base58, ecdsa, pycryptodome, requests, six }:
buildPythonPackage rec {
pname = "block-io";
version = "1.1.8";
src = fetchPypi {
inherit pname version;
sha256 = "15468pvpcp41ly7kjpmikpyi4av57d9zhf5j1v01j78r1xqqk56g";
};
propagatedBuildInputs = [
base58
ecdsa
pycryptodome
requests
six
];
# 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 ];
};
}

View File

@ -1096,6 +1096,8 @@ in {
blessed = callPackage ../development/python-modules/blessed {}; blessed = callPackage ../development/python-modules/blessed {};
block-io = callPackage ../development/python-modules/block-io {};
# Build boost for this specific Python version # Build boost for this specific Python version
# TODO: use separate output for libboost_python.so # TODO: use separate output for libboost_python.so
boost = toPythonModule (pkgs.boost.override { boost = toPythonModule (pkgs.boost.override {