python.pkgs.pyalgotrade: fix build
This commit is contained in:
parent
ae5b83683a
commit
4cf0a12d34
@ -1,23 +1,36 @@
|
|||||||
{ stdenv
|
{ stdenv
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
, isPy3k
|
, matplotlib
|
||||||
, numpy
|
, numpy
|
||||||
, scipy
|
, python-dateutil
|
||||||
, pytz
|
, pytz
|
||||||
|
, requests
|
||||||
|
, retrying
|
||||||
|
, scipy
|
||||||
|
, six
|
||||||
|
, tornado
|
||||||
|
, tweepy
|
||||||
|
, ws4py
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "pyalgotrade";
|
pname = "pyalgotrade";
|
||||||
version = "0.20";
|
version = "0.20";
|
||||||
disabled = isPy3k;
|
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
pname = "PyAlgoTrade";
|
||||||
|
inherit version;
|
||||||
sha256 = "7927c87af202869155280a93ff6ee934bb5b46cdb1f20b70f7407337f8541cbd";
|
sha256 = "7927c87af202869155280a93ff6ee934bb5b46cdb1f20b70f7407337f8541cbd";
|
||||||
};
|
};
|
||||||
|
|
||||||
propagatedBuildInputs = [ numpy scipy pytz ];
|
propagatedBuildInputs = [
|
||||||
|
matplotlib numpy python-dateutil pytz requests
|
||||||
|
retrying scipy six tornado tweepy ws4py
|
||||||
|
];
|
||||||
|
|
||||||
|
# no tests in PyPI tarball
|
||||||
|
doCheck = false;
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Python Algorithmic Trading";
|
description = "Python Algorithmic Trading";
|
||||||
|
Loading…
Reference in New Issue
Block a user