depot/third_party/nixpkgs/pkgs/development/python-modules/stumpy/default.nix
Default email 2495e3f88b Project import generated by Copybara.
GitOrigin-RevId: 78cd22c1b8604de423546cd49bfe264b786eca13
2022-01-03 17:56:52 +01:00

56 lines
935 B
Nix

{ lib
, buildPythonPackage
, fetchFromGitHub
, numpy
, scipy
, numba
, pandas
, dask
, distributed
, coverage
, flake8
, black
, pytest
, codecov
}:
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
coverage
flake8
black
pytest
codecov
];
# ignore changed numpy operations
checkPhase = ''
pytest -k 'not allc'
'';
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 ];
};
}