My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/stumpy/default.nix

49 lines
955 B

{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, numba
, pandas
, dask
, distributed
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "stumpy";
version = "1.10.2";
src = fetchFromGitHub {
owner = "TDAmeritrade";
repo = "stumpy";
rev = "v${version}";
sha256 = "1v17lxqgvkd3n33c2y1j1zy74xy92vsx2l89yhan89msnnb7aafr";
};
propagatedBuildInputs = [
numpy
scipy
numba
];
checkInputs = [
pandas
dask
distributed
pytestCheckHook
];
pytestFlagsArray = [
# whole testsuite is very CPU intensive, only run core tests
# TODO: move entire test suite to passthru.tests
"tests/test_core.py"
];
meta = with lib; {
description = "A powerful and scalable library that can be used for a variety of time series data mining tasks";
homepage = "https://github.com/TDAmeritrade/stumpy";
license = licenses.bsd3;
maintainers = [ maintainers.costrouc ];
};
}