1{ lib
2, buildPythonPackage
3, fetchPypi
4, pythonOlder
5, cython
6, fftw
7, pandas
8, scikit-learn
9, numpy
10}:
11
12buildPythonPackage rec {
13 pname = "mrsqm";
14 version = "0.0.6";
15 format = "setuptools";
16
17 disabled = pythonOlder "3.8";
18
19 src = fetchPypi {
20 inherit pname version;
21 hash = "sha256-dBwWiJEL76aXqM2vKn4uQsd86Rm3bMeDSsRRs/aLWCE=";
22 };
23
24 buildInputs = [ fftw ];
25
26 nativeBuildInputs = [
27 cython
28 ];
29
30 propagatedBuildInputs = [
31 pandas
32 scikit-learn
33 numpy
34 ];
35
36 # Package has no tests
37 doCheck = false;
38
39 pythonImportsCheck = [ "mrsqm" ];
40
41 meta = with lib; {
42 description = "MrSQM (Multiple Representations Sequence Miner) is a time series classifier";
43 homepage = "https://pypi.org/project/mrsqm";
44 changelog = "https://github.com/mlgig/mrsqm/releases/tag/v.${version}";
45 license = licenses.gpl3Only;
46 maintainers = with maintainers; [ mbalatsko ];
47 };
48}