fa5436e0a7
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
51 lines
949 B
Nix
51 lines
949 B
Nix
{
|
|
lib,
|
|
buildPythonPackage,
|
|
fetchPypi,
|
|
fst-pso,
|
|
numpy,
|
|
pandas,
|
|
pythonOlder,
|
|
scipy,
|
|
setuptools,
|
|
simpful,
|
|
typing-extensions,
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "pyfume";
|
|
version = "0.3.1";
|
|
pyproject = true;
|
|
|
|
disabled = pythonOlder "3.7";
|
|
|
|
src = fetchPypi {
|
|
pname = "pyFUME";
|
|
inherit version;
|
|
hash = "sha256-8J9qhSaTlb/KiCjegmc8iaGaZOXJ0Pk1EquOTEUUtW0=";
|
|
};
|
|
|
|
nativeBuildInputs = [ setuptools ];
|
|
|
|
propagatedBuildInputs = [
|
|
fst-pso
|
|
numpy
|
|
pandas
|
|
scipy
|
|
simpful
|
|
typing-extensions
|
|
];
|
|
|
|
# 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";
|
|
changelog = "https://github.com/CaroFuchs/pyFUME/releases/tag/${version}";
|
|
license = with licenses; [ gpl3Only ];
|
|
maintainers = with maintainers; [ fab ];
|
|
};
|
|
}
|