depot/third_party/nixpkgs/pkgs/development/python-modules/pyfume/default.nix
Default email f34ce41345 Project import generated by Copybara.
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
2024-07-27 08:49:29 +02:00

56 lines
996 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
fst-pso,
numpy,
pandas,
pythonOlder,
scipy,
setuptools,
simpful,
typing-extensions,
}:
buildPythonPackage rec {
pname = "pyfume";
version = "0.3.4";
pyproject = true;
disabled = pythonOlder "3.7";
src = fetchPypi {
inherit pname version;
hash = "sha256-UwW5OwFfu01lDKwz72iB2egbOoxb+t8UnEFIUjZmffU=";
};
nativeBuildInputs = [ setuptools ];
pythonRelaxDeps = [
"numpy"
"pandas"
"scipy"
];
propagatedBuildInputs = [
fst-pso
numpy
pandas
scipy
simpful
typing-extensions
];
# Module has not test
doCheck = false;
pythonImportsCheck = [ "pyfume" ];
meta = with lib; {
description = "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 ];
};
}