depot/third_party/nixpkgs/pkgs/development/python-modules/pyfume/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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