2024-06-05 15:53:02 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
|
|
|
fetchPypi,
|
|
|
|
pythonOlder,
|
|
|
|
cython,
|
|
|
|
fftw,
|
|
|
|
pandas,
|
|
|
|
scikit-learn,
|
|
|
|
numpy,
|
2023-10-09 19:29:22 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "mrsqm";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.0.7";
|
2023-10-09 19:29:22 +00:00
|
|
|
format = "setuptools";
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
disabled = pythonOlder "3.8";
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-04-21 15:54:59 +00:00
|
|
|
hash = "sha256-kZwgRazvPCmARcfhLByh1E8VPurrb8gVZc96hFfDOvs=";
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ fftw ];
|
|
|
|
|
2024-06-05 15:53:02 +00:00
|
|
|
nativeBuildInputs = [ cython ];
|
2023-10-09 19:29:22 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [
|
|
|
|
pandas
|
|
|
|
scikit-learn
|
|
|
|
numpy
|
|
|
|
];
|
|
|
|
|
2023-10-19 13:55:26 +00:00
|
|
|
# Package has no tests
|
|
|
|
doCheck = false;
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
pythonImportsCheck = [ "mrsqm" ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "MrSQM (Multiple Representations Sequence Miner) is a time series classifier";
|
|
|
|
homepage = "https://pypi.org/project/mrsqm";
|
2023-10-19 13:55:26 +00:00
|
|
|
changelog = "https://github.com/mlgig/mrsqm/releases/tag/v.${version}";
|
2023-10-09 19:29:22 +00:00
|
|
|
license = licenses.gpl3Only;
|
|
|
|
maintainers = with maintainers; [ mbalatsko ];
|
|
|
|
};
|
|
|
|
}
|