diff --git a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix index 3419557f3cad..80da163424a1 100644 --- a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix +++ b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix @@ -10,13 +10,11 @@ buildPythonPackage rec { pname = "antlr4-python3-runtime"; inherit (antlr4.runtime.cpp) version src; - format = "pyproject"; - - disabled = python.pythonOlder "3.6"; + pyproject = true; sourceRoot = "${src.name}/runtime/Python3"; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; postPatch = '' substituteInPlace tests/TestIntervalSet.py \ @@ -36,11 +34,11 @@ buildPythonPackage rec { runHook postCheck ''; - meta = with lib; { + meta = { description = "Runtime for ANTLR"; mainProgram = "pygrun"; homepage = "https://www.antlr.org/"; - license = licenses.bsd3; - maintainers = with maintainers; [ sarahec ]; + license = lib.licenses.bsd3; + maintainers = with lib.maintainers; [ sarahec ]; }; }