1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5
6 # build-system
7 setuptools,
8
9 # dependencies
10 deepdish,
11 matplotlib,
12 numpy,
13 obspy,
14 pandas,
15 pyedflib,
16 scikit-learn,
17 scipy,
18 seaborn,
19 tabulate,
20}:
21
22buildPythonPackage rec {
23 pname = "pyseries";
24 version = "1.0.26";
25 pyproject = true;
26
27 src = fetchPypi {
28 inherit pname version;
29 hash = "sha256-Cq+DXt0/6Ncae8OO+kaPuTCxouh0cFPHP+T8tGVXxXo=";
30 };
31
32 build-system = [ setuptools ];
33
34 pythonRemoveDeps = [
35 # sklearn is the old name of the scikit-learn package
36 "sklearn"
37 ];
38
39 dependencies = [
40 deepdish
41 matplotlib
42 numpy
43 obspy
44 pandas
45 pyedflib
46 scikit-learn
47 scipy
48 seaborn
49 tabulate
50 ];
51
52 pythonImportsCheck = [ "pyseries" ];
53
54 # no tests in the pypi archive
55 doCheck = false;
56
57 meta = {
58 description = "Package for statistical analysis of time-series data";
59 homepage = "https://pypi.org/project/pyseries/";
60 license = lib.licenses.mit;
61 maintainers = with lib.maintainers; [ GaetanLepage ];
62 };
63}