From c9697413f7dcc0fbe82f8c3cea826207b30fa368 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 26 Oct 2025 13:04:08 -0700 Subject: [PATCH 1/3] antlr4: add sarahec as maintainer --- pkgs/development/tools/parsing/antlr/4.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/tools/parsing/antlr/4.nix b/pkgs/development/tools/parsing/antlr/4.nix index cb7176f5d5a4..0352698f42f4 100644 --- a/pkgs/development/tools/parsing/antlr/4.nix +++ b/pkgs/development/tools/parsing/antlr/4.nix @@ -86,6 +86,7 @@ let sourceProvenance = with lib.sourceTypes; [ binaryBytecode ]; license = lib.licenses.bsd3; platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ sarahec ]; }; }; @@ -119,6 +120,7 @@ let homepage = "https://www.antlr.org/"; license = lib.licenses.bsd3; platforms = lib.platforms.unix; + maintainers = with lib.maintainers; [ sarahec ]; }; }; }; From cae5e7645a94dd0052e82c0d4cc745a30c3c026c Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 26 Oct 2025 13:09:56 -0700 Subject: [PATCH 2/3] python3Packages.antlr4-python3-runtime: add sarahec as maintainer --- .../python-modules/antlr4-python3-runtime/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix index 2c446ac30517..3419557f3cad 100644 --- a/pkgs/development/python-modules/antlr4-python3-runtime/default.nix +++ b/pkgs/development/python-modules/antlr4-python3-runtime/default.nix @@ -41,5 +41,6 @@ buildPythonPackage rec { mainProgram = "pygrun"; homepage = "https://www.antlr.org/"; license = licenses.bsd3; + maintainers = with maintainers; [ sarahec ]; }; } From df4de3d07fb19cbdc0d8f29757a545a8358280b9 Mon Sep 17 00:00:00 2001 From: Sarah Clark Date: Sun, 26 Oct 2025 13:10:44 -0700 Subject: [PATCH 3/3] python3Packages.antlr4-python3-runtime: cleanup derivation Remove \`with lib;`\" and outdated \`pythonOlder\`, use modern build. --- .../antlr4-python3-runtime/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) 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 ]; }; }