1{ lib, buildPythonPackage, fetchPypi
2, pytest, requests-mock, tox
3, autobahn, certifi, chardet, cryptography, dateparser, pyopenssl, requests, service-identity, twisted }:
4
5buildPythonPackage rec {
6 version = "0.7.5";
7 pname = "python-binance";
8
9 src = fetchPypi {
10 inherit pname version;
11 sha256 = "d6a96c0e55fc78d45279944515d385b3971300f35c2380ddb82689d676712053";
12 };
13
14 doCheck = false; # Tries to test multiple interpreters with tox
15 checkInputs = [ pytest requests-mock tox ];
16
17 propagatedBuildInputs = [ autobahn certifi chardet cryptography dateparser pyopenssl requests service-identity twisted ];
18
19 meta = {
20 description = "Binance Exchange API python implementation for automated trading";
21 homepage = "https://github.com/sammchardy/python-binance";
22 license = lib.licenses.mit;
23 maintainers = [ lib.maintainers.bhipple ];
24 };
25}