depot/third_party/nixpkgs/pkgs/development/python-modules/pyfume/default.nix

52 lines
949 B
Nix
Raw Normal View History

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