blob: 9b1f1ccd799bcea761f5a669c9cc6f9c573e03bb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
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
|