1{
2 lib,
3 buildPythonPackage,
4 fetchPypi,
5 fst-pso,
6 numpy,
7 pandas,
8 pythonOlder,
9 scipy,
10 setuptools,
11 simpful,
12 typing-extensions,
13}:
14
15buildPythonPackage rec {
16 pname = "pyfume";
17 version = "0.3.4";
18 pyproject = true;
19
20 disabled = pythonOlder "3.7";
21
22 src = fetchPypi {
23 inherit pname version;
24 hash = "sha256-UwW5OwFfu01lDKwz72iB2egbOoxb+t8UnEFIUjZmffU=";
25 };
26
27 nativeBuildInputs = [ setuptools ];
28
29 pythonRelaxDeps = [
30 "numpy"
31 "pandas"
32 "scipy"
33 ];
34
35 propagatedBuildInputs = [
36 fst-pso
37 numpy
38 pandas
39 scipy
40 simpful
41 typing-extensions
42 ];
43
44 # Module has not test
45 doCheck = false;
46
47 pythonImportsCheck = [ "pyfume" ];
48
49 meta = with lib; {
50 description = "Python package for fuzzy model estimation";
51 homepage = "https://github.com/CaroFuchs/pyFUME";
52 changelog = "https://github.com/CaroFuchs/pyFUME/releases/tag/${version}";
53 license = with licenses; [ gpl3Only ];
54 maintainers = with maintainers; [ fab ];
55 };
56}