pythonPackages.pyalgotrade: refactor move to python-modules
This commit is contained in:
committed by
Frederik Rietdijk
parent
098c097190
commit
3050ded4db
28
pkgs/development/python-modules/pyalgotrade/default.nix
Normal file
28
pkgs/development/python-modules/pyalgotrade/default.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{ stdenv
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, isPy3k
|
||||
, numpy
|
||||
, scipy
|
||||
, pytz
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pyalgotrade";
|
||||
version = "0.16";
|
||||
disabled = isPy3k;
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "a253617254194b91cfebae7bfd184cb109d4e48a8c70051b9560000a2c0f94b3";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ numpy scipy pytz ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Python Algorithmic Trading";
|
||||
homepage = http://gbeced.github.io/pyalgotrade/;
|
||||
license = licenses.asl20;
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user