12 buildPythonPackage rec {
17 disabled = pythonOlder "3.7";
19 src = fetchFromGitHub {
22 rev = "refs/tags/${version}";
23 hash = "sha256-nmqGdXqsesRhR06FDS5t64C6+Bz1B97W+PkHrfV7Qmg=";
26 nativeBuildInputs = [ setuptools ];
28 propagatedBuildInputs = [
34 nativeCheckInputs = [ pytestCheckHook ];
35 # use assertions of form `assert pytest.approx(...)`, which is now disallowed:
36 disabledTests = [ "test_basic" "test_degree" ];
37 pythonImportsCheck = [
43 homepage = "https://bambinos.github.io/formulae";
44 description = "Formulas for mixed-effects models in Python";
45 changelog = "https://github.com/bambinos/formulae/releases/tag/${version}";
46 license = licenses.mit;
47 maintainers = with maintainers; [ bcdarwin ];