4 antlr4-python3-runtime,
18 buildPythonPackage rec {
23 disabled = pythonOlder "3.6";
25 src = fetchFromGitHub {
28 rev = "refs/tags/v${version}";
29 hash = "sha256-Qxa4uIiX5TAyQ5rFkizdev60S4iVAJ08ES6FpNqf8zI=";
35 antlr_jar = "${antlr4.out}/share/java/antlr-${antlr4.version}-complete.jar";
38 # https://github.com/omry/omegaconf/pull/1137
39 ./0000-add-support-for-dataclasses_missing_type.patch
43 # We substitute the path to the jar with the one from our antlr4
44 # package, so this file becomes unused
45 rm -v build_helpers/bin/antlr*-complete.jar
47 sed -i 's/antlr4-python3-runtime==.*/antlr4-python3-runtime/' requirements/base.txt
50 build-system = [ setuptools ];
52 nativeBuildInputs = [ jre_minimal ];
55 antlr4-python3-runtime
66 pythonImportsCheck = [ "omegaconf" ];
70 "ignore::DeprecationWarning"
73 disabledTests = [ "test_eq" ];
76 description = "Framework for configuring complex applications";
77 homepage = "https://github.com/omry/omegaconf";
78 changelog = "https://github.com/omry/omegaconf/blob/v${version}/NEWS.md";
79 license = licenses.bsd3;
80 maintainers = with maintainers; [ bcdarwin ];