1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 numpy,
6 pandas,
7 pytestCheckHook,
8 scipy,
9 setuptools,
10}:
11
12buildPythonPackage rec {
13 pname = "peakutils";
14 version = "1.3.5";
15 pyproject = true;
16
17 src = fetchPypi {
18 inherit pname version;
19 hash = "sha256-T/Ln8zMLkwJP6Noe4E4AOJ4mvLLveb0vnPhszUli4RQ=";
20 };
21
22 build-system = [ setuptools ];
23
24 dependencies = [
25 numpy
26 scipy
27 ];
28
29 nativeCheckInputs = [
30 pandas
31 pytestCheckHook
32 ];
33
34 pythonImportsCheck = [ "peakutils" ];
35
36 meta = {
37 description = "Peak detection utilities for 1D data";
38 homepage = "https://pypi.org/project/PeakUtils/";
39 license = lib.licenses.mit;
40 maintainers = with lib.maintainers; [ fab ];
41 };
42}