unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: 61794@debbugs.gnu.org
Subject: [bug#61794] [PATCH 04/18] gnu: Add java-error-prone-annotations.
Date: Sat, 25 Feb 2023 21:30:28 +0100	[thread overview]
Message-ID: <9a6fa441e3d677daf50ada3bc3fa633df4ec481d.1677357041.git.julien@lepiller.eu> (raw)
In-Reply-To: <8c21fa41d1a4bc4665a074eee3b960a99455459e.1677357041.git.julien@lepiller.eu>

* 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





  parent reply	other threads:[~2023-02-25 20:32 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-02-25 20:26 [bug#61794] [PATCH] Update some Java packages Julien Lepiller
2023-02-25 20:30 ` [bug#61794] [PATCH 01/18] gnu: java-objenesis: Update to 3.3 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 02/18] gnu: java-bsh: Update to 2.1.1 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 03/18] gnu: java-cglib: Update to 3.3.0 Julien Lepiller
2023-02-25 20:30   ` Julien Lepiller [this message]
2023-02-25 20:30   ` [bug#61794] [PATCH 05/18] gnu: java-guava: Update to 31.1 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 06/18] gnu: Add apache-parent-pom-29 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 07/18] gnu: Add maven-parent-pom-39 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 08/18] gnu: Add apache-parent-pom-27 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 09/18] gnu: Add maven-parent-pom-37 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 10/18] gnu: maven-resolver-api: Update to 1.9.4 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 11/18] gnu: maven: Update to 3.9.0 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 12/18] gnu: Add java-asm-9 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 13/18] gnu: Add java-asm-tree-9 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 14/18] gnu: Add java-asm-analysis-9 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 15/18] gnu: Add java-asm-util-9 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 16/18] gnu: Add java-asm-commons-9 Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 17/18] gnu: Add java-byte-buddy-dep Julien Lepiller
2023-02-25 20:30   ` [bug#61794] [PATCH 18/18] gnu: java-powermock-reflect: Update to 2.0.9 Julien Lepiller
2023-07-24 12:15 ` [bug#61794] Commit? Andreas Enge
2024-04-01 20:55 ` [bug#61794] [PATCH] Update some Java packages Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9a6fa441e3d677daf50ada3bc3fa633df4ec481d.1677357041.git.julien@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=61794@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).