3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #46878 from bhipple/add/python-binance

pythonPackages.python-binance: init at 0.7.0
This commit is contained in:
adisbladis 2018-09-19 15:25:19 +08:00 committed by GitHub
commit efa3a9577f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 27 additions and 0 deletions

View file

@ -0,0 +1,25 @@
{ lib, buildPythonPackage, fetchPypi
, pytest, requests-mock, tox
, autobahn, certifi, chardet, cryptography, dateparser, pyopenssl, requests, service-identity, twisted }:
buildPythonPackage rec {
version = "0.7.0";
pname = "python-binance";
src = fetchPypi {
inherit pname version;
sha256 = "0h8kd88j53w6yfc60fr8a45zi30p09l98vm8yzqym4lcgx76nvps";
};
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";
homepage = https://github.com/sammchardy/python-binance;
license = lib.licenses.mit;
maintainers = [ lib.maintainers.bhipple ];
};
}

View file

@ -511,6 +511,8 @@ in {
pytest-tornado = callPackage ../development/python-modules/pytest-tornado { };
python-binance = callPackage ../development/python-modules/python-binance { };
python-hosts = callPackage ../development/python-modules/python-hosts { };
python-lz4 = callPackage ../development/python-modules/python-lz4 { };