python313Packages.peakutils: init at 1.3.5, python313Packages.biosppy: add missing peakutils (#446967)

Changed files
+58 -14
pkgs
development
python-modules
biosppy
peakutils
top-level
+14 -14
pkgs/development/python-modules/biosppy/default.nix
···
{
lib,
stdenv,
-
fetchFromGitHub,
+
bidict,
buildPythonPackage,
-
setuptools,
-
bidict,
+
fetchFromGitHub,
h5py,
+
joblib,
matplotlib,
+
mock,
numpy,
+
opencv-python,
+
peakutils,
+
pywavelets,
scikit-learn,
scipy,
+
setuptools,
shortuuid,
six,
-
joblib,
-
pywavelets,
-
mock,
tkinter,
-
opencv-python,
}:
buildPythonPackage rec {
···
hash = "sha256-R+3K8r+nzrCiZegxur/rf3/gDGhN9bVNMhlK94SHer0=";
};
-
build-system = [
-
setuptools
-
];
+
build-system = [ setuptools ];
dependencies = [
-
opencv-python
bidict
h5py
+
joblib
matplotlib
+
mock
numpy
+
opencv-python
+
peakutils
+
pywavelets
scikit-learn
scipy
shortuuid
six
-
joblib
-
pywavelets
-
mock
]
++ lib.optionals stdenv.hostPlatform.isDarwin [ tkinter ];
+42
pkgs/development/python-modules/peakutils/default.nix
···
+
{
+
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 ];
+
};
+
}
+2
pkgs/top-level/python-packages.nix
···
peacasso = callPackage ../development/python-modules/peacasso { };
+
peakutils = callPackage ../development/python-modules/peakutils { };
+
peaqevcore = callPackage ../development/python-modules/peaqevcore { };
pebble = callPackage ../development/python-modules/pebble { };