Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 19.09 55 lines 926 B view raw
1{ lib 2, buildPythonPackage 3, fetchFromGitHub 4, numpy 5, scipy 6, numba 7, pandas 8, dask 9, distributed 10, coverage 11, flake8 12, black 13, pytest 14, codecov 15}: 16 17buildPythonPackage { 18 pname = "stumpy"; 19 version = "1.0"; 20 21 src = fetchFromGitHub { 22 owner = "TDAmeritrade"; 23 repo = "stumpy"; 24 rev = "115e477c1eec9291ab7c1fd8da30d67a70854f8e"; # no git version tag 25 sha256 = "0s2s3y855jjwdb7p55zx8lknplz58ghpw547yzmqisacr968b67w"; 26 }; 27 28 propagatedBuildInputs = [ 29 numpy 30 scipy 31 numba 32 ]; 33 34 checkInputs = [ 35 pandas 36 dask 37 distributed 38 coverage 39 flake8 40 black 41 pytest 42 codecov 43 ]; 44 45 checkPhase = '' 46 pytest 47 ''; 48 49 meta = with lib; { 50 description = "A powerful and scalable library that can be used for a variety of time series data mining tasks"; 51 homepage = https://github.com/TDAmeritrade/stumpy; 52 license = licenses.bsd3; 53 maintainers = [ maintainers.costrouc ]; 54 }; 55}