2018-09-19 02:44:27 +01:00
|
|
|
{ lib, buildPythonPackage, fetchPypi
|
|
|
|
, pytest, requests-mock, tox
|
|
|
|
, autobahn, certifi, chardet, cryptography, dateparser, pyopenssl, requests, service-identity, twisted }:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
2020-05-09 11:01:57 +01:00
|
|
|
version = "0.7.5";
|
2018-09-19 02:44:27 +01:00
|
|
|
pname = "python-binance";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-05-09 11:01:57 +01:00
|
|
|
sha256 = "d6a96c0e55fc78d45279944515d385b3971300f35c2380ddb82689d676712053";
|
2018-09-19 02:44:27 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
doCheck = false; # Tries to test multiple interpreters with tox
|
|
|
|
checkInputs = [ pytest requests-mock tox ];
|
|
|
|
|
|
|
|
propagatedBuildInputs = [ autobahn certifi chardet cryptography dateparser pyopenssl requests service-identity twisted ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Binance Exchange API python implementation for automated trading";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/sammchardy/python-binance";
|
2018-09-19 02:44:27 +01:00
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.bhipple ];
|
|
|
|
};
|
|
|
|
}
|