depot/third_party/nixpkgs/pkgs/development/python-modules/pyfume/default.nix
Default email fa5436e0a7 Project import generated by Copybara.
GitOrigin-RevId: e8057b67ebf307f01bdcc8fba94d94f75039d1f6
2024-06-05 17:53:02 +02:00

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 ];
};
}