nixpkgs/pkgs/development/python-modules/pyalgotrade/default.nix

42 lines
726 B
Nix
Raw Normal View History

{ stdenv
, buildPythonPackage
, fetchPypi
2019-03-15 22:18:57 +01:00
, matplotlib
, numpy
2019-03-15 22:18:57 +01:00
, python-dateutil
, pytz
2019-03-15 22:18:57 +01:00
, requests
, retrying
, scipy
, six
, tornado
, tweepy
, ws4py
}:
buildPythonPackage rec {
pname = "pyalgotrade";
2018-11-04 11:35:11 +01:00
version = "0.20";
src = fetchPypi {
2019-03-15 22:18:57 +01:00
pname = "PyAlgoTrade";
inherit version;
2018-11-04 11:35:11 +01:00
sha256 = "7927c87af202869155280a93ff6ee934bb5b46cdb1f20b70f7407337f8541cbd";
};
2019-03-15 22:18:57 +01:00
propagatedBuildInputs = [
matplotlib numpy python-dateutil pytz requests
retrying scipy six tornado tweepy ws4py
];
# no tests in PyPI tarball
doCheck = false;
meta = with stdenv.lib; {
description = "Python Algorithmic Trading";
homepage = http://gbeced.github.io/pyalgotrade/;
license = licenses.asl20;
};
}