587713944a
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
54 lines
948 B
Nix
54 lines
948 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 ];
|
|
};
|
|
}
|