1{ lib 2, buildPythonPackage 3, fetchPypi 4, matplotlib 5, numpy 6, python-dateutil 7, pytz 8, requests 9, retrying 10, scipy 11, six 12, tornado 13, tweepy 14, ws4py 15}: 16 17buildPythonPackage rec { 18 pname = "pyalgotrade"; 19 version = "0.20"; 20 21 src = fetchPypi { 22 pname = "PyAlgoTrade"; 23 inherit version; 24 sha256 = "7927c87af202869155280a93ff6ee934bb5b46cdb1f20b70f7407337f8541cbd"; 25 }; 26 27 propagatedBuildInputs = [ 28 matplotlib numpy python-dateutil pytz requests 29 retrying scipy six tornado tweepy ws4py 30 ]; 31 32 # no tests in PyPI tarball 33 doCheck = false; 34 35 meta = with lib; { 36 description = "Python Algorithmic Trading"; 37 homepage = "http://gbeced.github.io/pyalgotrade/"; 38 license = licenses.asl20; 39 }; 40 41}