From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id kKXvB/K/b19VagAA0tVLHw (envelope-from ) for ; Sat, 26 Sep 2020 22:25:54 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id iOgDBPK/b1/lXQAA1q6Kng (envelope-from ) for ; Sat, 26 Sep 2020 22:25:54 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id E29FB940C23 for ; Sat, 26 Sep 2020 22:20:53 +0000 (UTC) Received: from localhost ([::1]:35118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kMIYm-0008CA-Se for larch@yhetil.org; Sat, 26 Sep 2020 18:20:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kMIXz-0007ov-Rl for guix-patches@gnu.org; Sat, 26 Sep 2020 18:20:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36412) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kMIXz-0003y3-Hw for guix-patches@gnu.org; Sat, 26 Sep 2020 18:20:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kMIXz-0004Rj-Ea for guix-patches@gnu.org; Sat, 26 Sep 2020 18:20:03 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43639] [PATCH 11/15] gnu: Add antlr4-4.1. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 26 Sep 2020 22:20:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43639 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43639@debbugs.gnu.org Received: via spool by 43639-submit@debbugs.gnu.org id=B43639.160115874916976 (code B ref 43639); Sat, 26 Sep 2020 22:20:03 +0000 Received: (at 43639) by debbugs.gnu.org; 26 Sep 2020 22:19:09 +0000 Received: from localhost ([127.0.0.1]:47947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMIX7-0004Pe-94 for submit@debbugs.gnu.org; Sat, 26 Sep 2020 18:19:09 -0400 Received: from lepiller.eu ([89.234.186.109]:49482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kMIWr-0004Mg-TE for 43639@debbugs.gnu.org; Sat, 26 Sep 2020 18:18:54 -0400 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 298b8b8b for <43639@debbugs.gnu.org>; Sat, 26 Sep 2020 22:18:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=lepiller.eu; h=from:to :subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; s=dkim; bh=8AwiSDeMV+Ln3RNOmkRU0247g S9xbIsdawzfM9kCMHc=; b=NT9KSXXbyFhL/uoy2Qw/mHjZjauNaeoiBw+CdUofA JB5WW0qKCCk1p8AmkPyi6iy4thi4xfiJM9NkDGywcT6Sq/2dujdKrmBa5tzoDwnn mHw13vC+uyGB3yI7z3hJqm1/GM3RSEoHoVFVQGwrVHQg1BKbj5eUZVgz+EPQYmG1 Wgp+4qVvbhFQf5WCkrj2jWFtwutQ9xllOjjS1JvolfcigmYaU/Z6KfAA4Vh85kri xtot718cuxjdV0LpXzBBtUXDCCIsCPjtkFKRNfg6rU9n/pOME6hWIx9ii3/Pu8L5 bmtvYrdNU3kcXTXj+V4T6K1MlzbH0ECErvgq01U29PeyA== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 6a3ae1b1 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for <43639@debbugs.gnu.org>; Sat, 26 Sep 2020 22:18:46 +0000 (UTC) From: Julien Lepiller Date: Sun, 27 Sep 2020 00:18:20 +0200 Message-Id: <20200926221824.20925-11-julien@lepiller.eu> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200926221824.20925-1-julien@lepiller.eu> References: <20200927001335.40c2409a@tachikoma.lepiller.eu> <20200926221824.20925-1-julien@lepiller.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -1.0 (-) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-TUID: +syraH8z0aSB * gnu/packages/java.scm (antlr4-4.1): New variable. --- gnu/packages/java.scm | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 40a10be8b2..198a06c292 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -8484,6 +8484,42 @@ parse trees."))) (inputs `(("java-treelayout" ,java-treelayout))))) +(define-public antlr4-4.1 + (package + (inherit antlr4) + (version (package-version java-antlr4-runtime-4.1)) + (source (package-source java-antlr4-runtime-4.1)) + (arguments + (substitute-keyword-arguments (package-arguments antlr4) + ((#:test-dir _) + "tool/test") + ((#:test-exclude excludes) + `(list "**/TestParseErrors.java" + "**/TestTopologicalSort.java" + ,@excludes)) + ((#:phases phases) + `(modify-phases ,phases + (delete 'generate-unicode) + (replace 'check + (lambda _ + (invoke "ant" "check") + #t)) + (add-before 'configure 'chmod + (lambda _ + (chmod "build.xml" #o644) + #t)) + (delete 'remove-graphemes) + (delete 'remove-unrelated-languages) + (delete 'generate-test-parsers))))) + (inputs + (map + (match-lambda + ((name package) + (if (equal? name "java-antlr4-runtime") + (list name java-antlr4-runtime-4.1) + (list name package)))) + (package-inputs antlr4))))) + (define-public java-commons-cli-1.2 ;; This is a bootstrap dependency for Maven2. (package -- 2.28.0