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.1"; 18 pyproject = true; 19 20 disabled = pythonOlder "3.7"; 21 22 src = fetchPypi { 23 pname = "pyFUME"; 24 inherit version; 25 hash = "sha256-8J9qhSaTlb/KiCjegmc8iaGaZOXJ0Pk1EquOTEUUtW0="; 26 }; 27 28 nativeBuildInputs = [ setuptools ]; 29 30 propagatedBuildInputs = [ 31 fst-pso 32 numpy 33 pandas 34 scipy 35 simpful 36 typing-extensions 37 ]; 38 39 # Module has not test 40 doCheck = false; 41 42 pythonImportsCheck = [ "pyfume" ]; 43 44 meta = with lib; { 45 description = "A Python package for fuzzy model estimation"; 46 homepage = "https://github.com/CaroFuchs/pyFUME"; 47 changelog = "https://github.com/CaroFuchs/pyFUME/releases/tag/${version}"; 48 license = with licenses; [ gpl3Only ]; 49 maintainers = with maintainers; [ fab ]; 50 }; 51}