From 0c6717db1d973c5d0d66bba05a20f37352ecca73 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 15 May 2021 09:44:22 +0200 Subject: [PATCH] python3Packages.python-binance: 0.7.9 -> 1.0.10 --- .../python-modules/python-binance/default.nix | 29 +++++++++++++++---- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/python-binance/default.nix b/pkgs/development/python-modules/python-binance/default.nix index a750f02505a..de881459043 100644 --- a/pkgs/development/python-modules/python-binance/default.nix +++ b/pkgs/development/python-modules/python-binance/default.nix @@ -1,20 +1,37 @@ { lib, buildPythonPackage, fetchPypi , pytest, requests-mock, tox -, autobahn, certifi, chardet, cryptography, dateparser, pyopenssl, requests, service-identity, twisted, ujson }: +, aiohttp +, dateparser +, requests +, six +, ujson +, websockets +}: buildPythonPackage rec { - version = "0.7.9"; + version = "1.0.10"; pname = "python-binance"; src = fetchPypi { inherit pname version; - sha256 = "476459d91f6cfe0a37ccac38911643ea6cca632499ad8682e0957a075f73d239"; + sha256 = "sha256-5U/xMJ0iPij3Y+6SKuKQHspSiktxJVrDQzHPoJCM4H8="; }; - doCheck = false; # Tries to test multiple interpreters with tox - checkInputs = [ pytest requests-mock tox ]; + propagatedBuildInputs = [ + aiohttp + dateparser + requests + six + ujson + websockets + ]; - propagatedBuildInputs = [ autobahn certifi chardet cryptography dateparser pyopenssl requests service-identity twisted ujson ]; + checkInputs = [ + pytest + requests-mock + ]; + + doCheck = false; # Tries to test multiple interpreters with tox meta = { description = "Binance Exchange API python implementation for automated trading";