mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 02:06:46 +01:00
57 lines
934 B
Nix
57 lines
934 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchFromGitHub
|
|
, numpy
|
|
, scipy
|
|
, numba
|
|
, pandas
|
|
, dask
|
|
, distributed
|
|
, coverage
|
|
, flake8
|
|
, black
|
|
, pytest
|
|
, codecov
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "stumpy";
|
|
version = "1.9.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "TDAmeritrade";
|
|
repo = "stumpy";
|
|
rev = "v${version}";
|
|
sha256 = "0x5kac8fqsi3fkfwjdn0d7anslprxaz6cizky9cyj0rpbp0b0yc3";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|