2018-09-18 18:44:27 -07:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, requests-mock, tox
|
2021-05-15 00:44:22 -07:00
|
|
|
, aiohttp
|
|
|
|
, dateparser
|
|
|
|
, requests
|
|
|
|
, six
|
|
|
|
, ujson
|
|
|
|
, websockets
|
|
|
|
}:
|
2018-09-18 18:44:27 -07:00
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2021-05-15 00:44:22 -07:00
|
|
|
version = "1.0.10";
|
2018-09-18 18:44:27 -07:00
|
|
|
pname = "python-binance";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2021-05-15 00:44:22 -07:00
|
|
|
sha256 = "sha256-5U/xMJ0iPij3Y+6SKuKQHspSiktxJVrDQzHPoJCM4H8=";
|
2018-09-18 18:44:27 -07:00
|
|
|
};
|
|
|
|
|
2021-05-15 00:44:22 -07:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
aiohttp
|
|
|
|
dateparser
|
|
|
|
requests
|
|
|
|
six
|
|
|
|
ujson
|
|
|
|
websockets
|
|
|
|
];
|
|
|
|
|
|
|
|
checkInputs = [
|
|
|
|
pytest
|
|
|
|
requests-mock
|
|
|
|
];
|
2018-09-18 18:44:27 -07:00
|
|
|
|
2021-05-15 00:44:22 -07:00
|
|
|
doCheck = false; # Tries to test multiple interpreters with tox
|
2018-09-18 18:44:27 -07:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Binance Exchange API python implementation for automated trading";
|
2020-03-31 18:11:51 -07:00
|
|
|
homepage = "https://github.com/sammchardy/python-binance";
|
2018-09-18 18:44:27 -07:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.bhipple ];
|
|
|
|
};
|
|
|
|
}
|