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 "fst-pso"
31 "numpy"
32 "pandas"
33 "scipy"
34 ];
35
36 propagatedBuildInputs = [
37 fst-pso
38 numpy
39 pandas
40 scipy
41 simpful
42 typing-extensions
43 ];
44
45 # Module has not test
46 doCheck = false;
47
48 pythonImportsCheck = [ "pyfume" ];
49
50 meta = with lib; {
51 description = "Python package for fuzzy model estimation";
52 homepage = "https://github.com/CaroFuchs/pyFUME";
53 changelog = "https://github.com/CaroFuchs/pyFUME/releases/tag/${version}";
54 license = licenses.gpl3Only;
55 maintainers = with maintainers; [ fab ];
56 };
57}