1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-30 21:15:21 +03:00
nixpkgs/pkgs/development/python-modules/stumpy/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

58 lines
1 KiB
Nix
Raw Normal View History

2019-07-14 17:39:12 -04:00
{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, numba
, pandas
, dask
, distributed
, pytestCheckHook
, pythonOlder
2019-07-14 17:39:12 -04:00
}:
2020-08-07 14:16:24 -07:00
buildPythonPackage rec {
2019-07-14 17:39:12 -04:00
pname = "stumpy";
version = "1.11.1";
format = "setuptools";
disabled = pythonOlder "3.7";
2019-07-14 17:39:12 -04:00
src = fetchFromGitHub {
owner = "TDAmeritrade";
repo = "stumpy";
rev = "refs/tags/v${version}";
hash = "sha256-ARpXqZpWkbvIEDVkxA1SwlWoxq+3WO6tvv/e7WZ/25c=";
2019-07-14 17:39:12 -04:00
};
propagatedBuildInputs = [
numpy
scipy
numba
];
checkInputs = [
pandas
dask
distributed
pytestCheckHook
2019-07-14 17:39:12 -04:00
];
pythonImportsCheck = [
"stumpy"
];
pytestFlagsArray = [
# whole testsuite is very CPU intensive, only run core tests
# TODO: move entire test suite to passthru.tests
"tests/test_core.py"
];
2019-07-14 17:39:12 -04:00
meta = with lib; {
description = "Library that can be used for a variety of time series data mining tasks";
homepage = "https://github.com/TDAmeritrade/stumpy";
2019-07-14 17:39:12 -04:00
license = licenses.bsd3;
maintainers = with maintainers; [ costrouc ];
2019-07-14 17:39:12 -04:00
};
}