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