at master 1.3 kB view raw
1{ 2 lib, 3 fetchPypi, 4 buildPythonPackage, 5 hatchling, 6 hatch-vcs, 7 numpy, 8 scipy, 9 matplotlib, 10 pandas, 11 multiprocess, 12 pathos, 13}: 14let 15 finalAttrs = { 16 pname = "salib"; 17 version = "1.5.1"; 18 pyproject = true; 19 20 src = fetchPypi { 21 inherit (finalAttrs) pname version; 22 hash = "sha256-5KnDGbjdAplajcmD9XxFLLflttvUPnt4VskMtqMyu18="; 23 }; 24 25 build-system = [ 26 hatchling 27 hatch-vcs 28 ]; 29 30 dependencies = [ 31 numpy 32 scipy 33 matplotlib 34 pandas 35 multiprocess 36 ]; 37 38 optional-dependencies = { 39 distributed = [ pathos ]; 40 }; 41 42 # There are no tests in the pypi package 43 doCheck = false; 44 45 pythonImportsCheck = [ 46 "SALib" 47 "SALib.analyze" 48 "SALib.plotting" 49 "SALib.sample" 50 "SALib.test_functions" 51 "SALib.util" 52 ]; 53 54 meta = { 55 changelog = "https://github.com/SALib/SALib/releases"; 56 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"; 57 homepage = "https://github.com/SALib/SALib"; 58 license = lib.licenses.mit; 59 maintainers = with lib.maintainers; [ theobori ]; 60 mainProgram = "salib"; 61 }; 62 }; 63in 64buildPythonPackage finalAttrs