python3Packages.python-binance: add format

This commit is contained in:
Fabian Affolter 2022-04-09 12:25:00 +02:00 committed by GitHub
parent c5aa205dd5
commit e8e1cccd58
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";