summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/peakutils/default.nix
blob: bc6167877aa0c8a35fd80ef012e6a345e960fb5d (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
{
  lib,
  buildPythonPackage,
  fetchPypi,
  numpy,
  pandas,
  pytestCheckHook,
  scipy,
  setuptools,
}:

buildPythonPackage rec {
  pname = "peakutils";
  version = "1.3.5";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-T/Ln8zMLkwJP6Noe4E4AOJ4mvLLveb0vnPhszUli4RQ=";
  };

  build-system = [ setuptools ];

  dependencies = [
    numpy
    scipy
  ];

  nativeCheckInputs = [
    pandas
    pytestCheckHook
  ];

  pythonImportsCheck = [ "peakutils" ];

  meta = {
    description = "Peak detection utilities for 1D data";
    homepage = "https://pypi.org/project/PeakUtils/";
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ fab ];
  };
}