94427deb9d
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
46 lines
775 B
Nix
46 lines
775 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, fst-pso
|
|
, numpy
|
|
, pandas
|
|
, pythonOlder
|
|
, scipy
|
|
, simpful
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyfume";
|
|
version = "0.2.25";
|
|
format = "setuptools";
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "pyFUME";
|
|
inherit version;
|
|
hash = "sha256-uD1IHFyNd9yv3eyHPZ4pg6X2+rLTY5sYsQysuIXbvfA=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
fst-pso
|
|
numpy
|
|
pandas
|
|
scipy
|
|
simpful
|
|
];
|
|
|
|
# Module has not test
|
|
doCheck = false;
|
|
|
|
pythonImportsCheck = [
|
|
"pyfume"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "A Python package for fuzzy model estimation";
|
|
homepage = "https://github.com/CaroFuchs/pyFUME";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|