Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.4 kB · 80 lines
Nix
at litex
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, buildPythonPackage, pythonOlder, fetchFromGitHub, pytestCheckHook, arviz, blackjax, formulae, graphviz, numpy, numpyro, pandas, pymc, scipy, setuptools}:
buildPythonPackage rec { pname = "bambi"; version = "0.10.0"; format = "pyproject";
disabled = pythonOlder "3.8";
src = fetchFromGitHub { owner = "bambinos"; repo = pname; rev = "refs/tags/${version}"; hash = "sha256-D04eTAlckEqgKA+59BRljlyneHYoqqZvLYmt/gBLHcU="; };
nativeBuildInputs = [ setuptools ];
propagatedBuildInputs = [ arviz formulae numpy pandas pymc scipy ];
preCheck = '' export HOME=$(mktemp -d) '';
nativeCheckInputs = [ blackjax graphviz numpyro pytestCheckHook ];
disabledTests = [ # Tests require network access "test_custom_prior" "test_data_is_copied" "test_distributional_model" "test_gamma_with_splines" "test_non_distributional_model_with_categories" "test_non_distributional_model" "test_normal_with_splines" "test_predict_offset" # Assertion issue "test_custom_likelihood_function" ];
pythonImportsCheck = [ "bambi" ];
meta = with lib; { homepage = "https://bambinos.github.io/bambi"; description = "High-level Bayesian model-building interface"; license = licenses.mit; maintainers = with maintainers; [ bcdarwin ]; };}