python3Packages.salib: init at 1.5.1 (#343803)

This commit is contained in:
OTABI Tomoya 2024-09-25 09:27:06 +09:00 committed by GitHub
commit 25b98619c2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 66 additions and 0 deletions

View File

@ -0,0 +1,64 @@
{
lib,
fetchPypi,
buildPythonPackage,
hatchling,
hatch-vcs,
numpy,
scipy,
matplotlib,
pandas,
multiprocess,
pathos,
}:
let
finalAttrs = {
pname = "salib";
version = "1.5.1";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-5KnDGbjdAplajcmD9XxFLLflttvUPnt4VskMtqMyu18=";
};
build-system = [
hatchling
hatch-vcs
];
dependencies = [
numpy
scipy
matplotlib
pandas
multiprocess
];
optional-dependencies = {
distributed = [ pathos ];
};
# There are no tests in the pypi package
doCheck = false;
pythonImportsCheck = [
"SALib"
"SALib.analyze"
"SALib.plotting"
"SALib.sample"
"SALib.test_functions"
"SALib.util"
];
meta = {
changelog = "https://github.com/SALib/SALib/releases";
description = "Python implementations of commonly used sensitivity analysis methods, useful in systems modeling to calculate the effects of model inputs or exogenous factors on outputs of interest";
homepage = "https://github.com/SALib/SALib";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ theobori ];
mainProgram = "salib";
};
};
in
buildPythonPackage finalAttrs

View File

@ -13869,6 +13869,8 @@ self: super: with self; {
sagemaker = callPackage ../development/python-modules/sagemaker { };
salib = callPackage ../development/python-modules/salib { };
salmon-mail = callPackage ../development/python-modules/salmon-mail { };
sane = callPackage ../development/python-modules/sane {