From c5aa205dd5258489f3315791a69421a2d181822e Mon Sep 17 00:00:00 2001 From: "R. Ryantm" Date: Sat, 9 Apr 2022 04:22:51 +0000 Subject: [PATCH 1/2] python310Packages.python-binance: 1.0.10 -> 1.0.16 --- pkgs/development/python-modules/python-binance/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/development/python-modules/python-binance/default.nix b/pkgs/development/python-modules/python-binance/default.nix index cd1e09557ecb..bea6492be0dc 100644 --- a/pkgs/development/python-modules/python-binance/default.nix +++ b/pkgs/development/python-modules/python-binance/default.nix @@ -14,14 +14,14 @@ buildPythonPackage rec { pname = "python-binance"; - version = "1.0.10"; + version = "1.0.16"; disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "sammchardy"; repo = pname; - rev = "v${version}"; - sha256 = "09pq2blvky1ah4k8yc6zkp2g5nkn3awc52ad3lxvj6m33akfzxiv"; + rev = "refs/tags/v${version}"; + sha256 = "sha256-2v3qeykjQR/CUOC6F0Xomm49Q+wrYJS8vmL3+u6ew0M="; }; propagatedBuildInputs = [ From e8e1cccd58436917e7f5082797bccb577f2ce592 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 9 Apr 2022 12:25:00 +0200 Subject: [PATCH 2/2] python3Packages.python-binance: add format --- .../development/python-modules/python-binance/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/python-binance/default.nix b/pkgs/development/python-modules/python-binance/default.nix index bea6492be0dc..f5cd9b29f520 100644 --- a/pkgs/development/python-modules/python-binance/default.nix +++ b/pkgs/development/python-modules/python-binance/default.nix @@ -15,13 +15,15 @@ buildPythonPackage rec { pname = "python-binance"; version = "1.0.16"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "sammchardy"; repo = pname; rev = "refs/tags/v${version}"; - sha256 = "sha256-2v3qeykjQR/CUOC6F0Xomm49Q+wrYJS8vmL3+u6ew0M="; + hash = "sha256-2v3qeykjQR/CUOC6F0Xomm49Q+wrYJS8vmL3+u6ew0M="; }; propagatedBuildInputs = [ @@ -44,7 +46,9 @@ buildPythonPackage rec { "tests/test_historical_klines.py" ]; - pythonImportsCheck = [ "binance" ]; + pythonImportsCheck = [ + "binance" + ]; meta = with lib; { description = "Binance Exchange API python implementation for automated trading";