diff --git a/pkgs/development/python-modules/python-binance/default.nix b/pkgs/development/python-modules/python-binance/default.nix index cd1e09557ecb..f5cd9b29f520 100644 --- a/pkgs/development/python-modules/python-binance/default.nix +++ b/pkgs/development/python-modules/python-binance/default.nix @@ -14,14 +14,16 @@ buildPythonPackage rec { pname = "python-binance"; - version = "1.0.10"; + version = "1.0.16"; + format = "setuptools"; + disabled = pythonOlder "3.6"; src = fetchFromGitHub { owner = "sammchardy"; repo = pname; - rev = "v${version}"; - sha256 = "09pq2blvky1ah4k8yc6zkp2g5nkn3awc52ad3lxvj6m33akfzxiv"; + rev = "refs/tags/v${version}"; + 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";