1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/python-modules/block-io/default.nix
2019-01-18 09:37:06 +01:00

31 lines
850 B
Nix

{ stdenv, fetchPypi, fetchpatch, buildPythonPackage, base58, ecdsa, pycryptodome, requests, six }:
buildPythonPackage rec {
pname = "block-io";
version = "1.1.9";
src = fetchPypi {
inherit pname version;
sha256 = "4909d58b32ab7f93d3cd83fa4bbe4edef42ab7566f016bdb6a405a0d8b1907c9";
};
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 ];
};
}