From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2E7+EWBw+mMSKQAAbAwnHQ (envelope-from ) for ; Sat, 25 Feb 2023 21:32:32 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id KKwPEmBw+mNnQgAA9RJhRA (envelope-from ) for ; Sat, 25 Feb 2023 21:32:32 +0100 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 224284D4D for ; Sat, 25 Feb 2023 21:32:32 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=TzbXSy36; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Seal: i=1; s=key1; d=yhetil.org; t=1677357152; a=rsa-sha256; cv=none; b=cLzEGkb5jel4MBE0GVNY5KBQrhOj9lq2lVMSHRI4RgJlUW4slICDCurVLUN1t+4N1ZFfGN /tKl5U6QDJc/lYoO9qangMFn1Fmv/Ggb5/nxvXzyp3+po+OpYDEIshgCj1QQLD2WhAq85a GQWG8W9lCpL+yzqA5NON8CVwjOU85udlw075Zxh7eydSeCP1c+U6HSxxdsoWxW7PfMNebZ Zl6fMdPVy70JWrMNeA72Fq+pvx/8Jk/p+CrhxwxA3XY1l5bfsrxbzd+5T6NhgMZpx6Hpmv BaqF/hnaQ5Dfe15N7TVNCjkRcdW+GSRpxzsO1oeQhYXUlQc3D2lRdGUbWl3lJg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=lepiller.eu header.s=dkim header.b=TzbXSy36; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=lepiller.eu (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1677357152; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=C0H5lcrrW6++UfQRPqBe/sZRe0ilgabhDuhOlyCqcu0=; b=Nd/A3qJzH1tRKhQOztwOcWyBSlJ1AbD9JltWI9kjC34k/hoNsGYnSBBiGE2gSscWXEPmqI FGnSOaQ8ek63sMYwy0TXmXuduBfeKNCiVJRNw6oWNBWMdEP2oZnbV5JxpNvXnO93yoA6pG dpaDsdT3dZ/zb9LDik4NVzTopCvMXE/vOA0uUoZ7Nq+mY7Vh7gQnNiyQMVulOMxXdqN/2d WcpeMl50q/csXMyHYjB+lAeqwaqiWV+z0HWm4Yi++DEscdaqce59RtUZwVBDV1WBHI9oyR 5uUzbvm5ME2HuJa2nJfr6o2g/CCBH1S1zP9WgZv+D/HHJBpPNCKGbcuSQJ/7Xw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pW1DB-0005nU-A3; Sat, 25 Feb 2023 15:32:05 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pW1D8-0005mL-P3 for guix-patches@gnu.org; Sat, 25 Feb 2023 15:32:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pW1D8-00016O-Gv for guix-patches@gnu.org; Sat, 25 Feb 2023 15:32:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pW1D8-0004Tr-DZ for guix-patches@gnu.org; Sat, 25 Feb 2023 15:32:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#61794] [PATCH 04/18] gnu: Add java-error-prone-annotations. Resent-From: Julien Lepiller Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 25 Feb 2023 20:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61794 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 61794@debbugs.gnu.org Received: via spool by 61794-submit@debbugs.gnu.org id=B61794.167735706316989 (code B ref 61794); Sat, 25 Feb 2023 20:32:02 +0000 Received: (at 61794) by debbugs.gnu.org; 25 Feb 2023 20:31:03 +0000 Received: from localhost ([127.0.0.1]:41650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pW1CA-0004PV-FM for submit@debbugs.gnu.org; Sat, 25 Feb 2023 15:31:03 -0500 Received: from lepiller.eu ([89.234.186.109]:46240) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pW1C7-0004Om-3L for 61794@debbugs.gnu.org; Sat, 25 Feb 2023 15:30:59 -0500 Received: from lepiller.eu (localhost [127.0.0.1]) by lepiller.eu (OpenSMTPD) with ESMTP id 126da748 for <61794@debbugs.gnu.org>; Sat, 25 Feb 2023 20:30:54 +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=L2cYbzm3seLK3LMcmEfKEOBgk YNimqGb78w4oHuHxa0=; b=TzbXSy36BhH4z9e7vXGg4/SHuKTkzLiTaa93as0U3 o/Crk4K8z8VZ3t1oA3GNqvgk7sDlVAZ8i/Gx/jv7svmq59PXRabGDxtC2/Qn13cb LHri2T+hUscUM/3hyKv2/EhXWOuBCm3tS0WZBSMmVcAHqPu7F5T5SIx6qvFC18r/ hq+pShBRUelmpoJ2w/OuU3ZEcGnkc0XvYGDkZpedwly5g5n6yullR35vzl9NAzBn 59qmodGtBJmAK/bFO3iDNlzxXLXs94YmT89R+EHziBpRuLLv8bhPjIf+ut/nRfPP ngP5mj5D+iz+d4HUD8VVJ7fWDePH9b0rsohuw3oehBjmg== Received: by lepiller.eu (OpenSMTPD) with ESMTPSA id 7a19e308 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for <61794@debbugs.gnu.org>; Sat, 25 Feb 2023 20:30:54 +0000 (UTC) From: Julien Lepiller Date: Sat, 25 Feb 2023 21:30:28 +0100 Message-Id: <9a6fa441e3d677daf50ada3bc3fa633df4ec481d.1677357041.git.julien@lepiller.eu> X-Mailer: git-send-email 2.38.1 In-Reply-To: <8c21fa41d1a4bc4665a074eee3b960a99455459e.1677357041.git.julien@lepiller.eu> References: <8c21fa41d1a4bc4665a074eee3b960a99455459e.1677357041.git.julien@lepiller.eu> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 224284D4D X-Spam-Score: -0.88 X-Migadu-Spam-Score: -0.88 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: sGOMUm+IH7n6 * gnu/packages/java.scm (java-error-prone-annotations): New variable. --- gnu/packages/java.scm | 44 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 187a531c27..fbd8b50872 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -5857,6 +5857,50 @@ (define-public java-jsr305 It provides packages in the @code{javax.annotations} namespace.") (license license:asl2.0))) +(define-public java-error-prone-annotations + (package + (name "java-error-prone-annotations") + (version "2.18.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/google/error-prone") + (commit (string-append "v" version)))) + (file-name (git-file-name "java-error-prone" version)) + (sha256 + (base32 + "19sqsz0b308rhadr3ff10azdbqjq37nvrn9c06224dwpxap0931f")))) + (build-system ant-build-system) + (arguments + `(#:tests? #f; no tests + #:jar-name (string-append ,name "-" ,version ".jar") + #:source-dir "annotations/src/main/java" + #:test-dir "annotations/src/altest" + #:phases + (modify-phases %standard-phases + (replace 'install (install-from-pom "annotations/pom.xml"))))) + (propagated-inputs (list java-error-prone-parent-pom java-jsr305)) + (home-page "https://errorprone.info") + (synopsis "Java static analyzer at compile-time") + (description "Error Prone is a static analysis tool for Java that catches +common programming mistakes at compile-time. This package contains annotations +used by programmers to guide the static analysis.") + (license license:asl2.0))) + +(define java-error-prone-parent-pom + (package + (inherit java-error-prone-annotations) + (name "java-error-prone-parent-pom") + (arguments + `(#:tests? #f + #:phases + (modify-phases %standard-phases + (delete 'configure) + (delete 'build) + (replace 'install + (install-pom-file "pom.xml"))))) + (propagated-inputs '()))) + (define-public java-guava (package (name "java-guava") -- 2.38.1