16 buildPythonPackage rec {
21 disabled = pythonOlder "3.8";
23 src = fetchFromGitHub {
26 rev = "refs/tags/${version}";
27 hash = "sha256-9+uTyV3mQlHOKAjXohwkhTzNe/+I5XR/LuH1ZYvhc8I=";
34 propagatedBuildInputs = [
43 export HOME=$(mktemp -d)
53 # Tests require network access
54 "test_alias_equal_to_name"
58 "test_censored_response"
61 "test_distributional_model"
63 "test_extra_namespace"
65 "test_gamma_with_splines"
69 "test_non_distributional_model"
70 "test_normal_with_splines"
72 "test_predict_new_groups"
73 "test_predict_new_groups_fail"
74 "test_set_alias_warnings"
79 "test_with_group_and_panel"
80 "test_with_user_values"
83 pythonImportsCheck = [
88 homepage = "https://bambinos.github.io/bambi";
89 description = "High-level Bayesian model-building interface";
90 changelog = "https://github.com/bambinos/bambi/releases/tag/${version}";
91 license = licenses.mit;
92 maintainers = with maintainers; [ bcdarwin ];