Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.1 kB · 59 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960{ lib, aiohttp, buildPythonPackage, dateparser, fetchFromGitHub, pytestCheckHook, pythonOlder, requests, requests-mock, six, ujson, websockets}:
buildPythonPackage rec { pname = "python-binance"; version = "1.0.17"; format = "setuptools";
disabled = pythonOlder "3.6";
src = fetchFromGitHub { owner = "sammchardy"; repo = pname; rev = "refs/tags/v${version}"; hash = "sha256-e88INUEkjOSVOD0KSs9LmstuQ7dQZdJk8K6VqFEusww="; };
propagatedBuildInputs = [ aiohttp dateparser requests six ujson websockets ];
nativeCheckInputs = [ pytestCheckHook requests-mock ];
disabledTestPaths = [ # Tests require network access "tests/test_api_request.py" "tests/test_historical_klines.py" ];
pythonImportsCheck = [ "binance" ];
meta = with lib; { description = "Binance Exchange API python implementation for automated trading"; homepage = "https://github.com/sammchardy/python-binance"; license = licenses.mit; maintainers = with maintainers; [ bhipple ]; };}