3 , antlr4-python3-runtime
17 buildPythonPackage rec {
22 disabled = pythonOlder "3.6";
24 src = fetchFromGitHub {
27 rev = "refs/tags/v${version}";
28 hash = "sha256-Qxa4uIiX5TAyQ5rFkizdev60S4iVAJ08ES6FpNqf8zI=";
34 antlr_jar = "${antlr4.out}/share/java/antlr-${antlr4.version}-complete.jar";
37 # https://github.com/omry/omegaconf/pull/1137
38 ./0000-add-support-for-dataclasses_missing_type.patch
42 # We substitute the path to the jar with the one from our antlr4
43 # package, so this file becomes unused
44 rm -v build_helpers/bin/antlr*-complete.jar
46 sed -i 's/antlr4-python3-runtime==.*/antlr4-python3-runtime/' requirements/base.txt
58 antlr4-python3-runtime
69 pythonImportsCheck = [
75 "ignore::DeprecationWarning"
83 description = "Framework for configuring complex applications";
84 homepage = "https://github.com/omry/omegaconf";
85 changelog = "https://github.com/omry/omegaconf/blob/v${version}/NEWS.md";
86 license = licenses.bsd3;
87 maintainers = with maintainers; [ bcdarwin ];