summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/pyseries/default.nix
blob: 76003eb105af5175be035e93161268a03f8ebe29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
{
  lib,
  buildPythonPackage,
  fetchPypi,

  # build-system
  setuptools,

  # dependencies
  deepdish,
  matplotlib,
  numpy,
  obspy,
  pandas,
  pyedflib,
  scikit-learn,
  scipy,
  seaborn,
  tabulate,
}:

buildPythonPackage rec {
  pname = "pyseries";
  version = "1.0.26";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-Cq+DXt0/6Ncae8OO+kaPuTCxouh0cFPHP+T8tGVXxXo=";
  };

  build-system = [ setuptools ];

  pythonRemoveDeps = [
    # sklearn is the old name of the scikit-learn package
    "sklearn"
  ];

  dependencies = [
    deepdish
    matplotlib
    numpy
    obspy
    pandas
    pyedflib
    scikit-learn
    scipy
    seaborn
    tabulate
  ];

  pythonImportsCheck = [ "pyseries" ];

  # no tests in the pypi archive
  doCheck = false;

  meta = {
    description = "Package for statistical analysis of time-series data";
    homepage = "https://pypi.org/project/pyseries/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}