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