mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: Add java-error-prone-annotations.
* gnu/packages/java.scm (java-error-prone-annotations): New variable. Change-Id: I42b79a7c338f8866617b474cb39bc2ea75160d4a
This commit is contained in:
parent
def5129341
commit
415a4d0115
1 changed files with 44 additions and 0 deletions
|
@ -6204,6 +6204,50 @@ (define-public java-jsr305
|
||||||
It provides packages in the @code{javax.annotations} namespace.")
|
It provides packages in the @code{javax.annotations} namespace.")
|
||||||
(license license:asl2.0)))
|
(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
|
(define-public java-guava
|
||||||
(package
|
(package
|
||||||
(name "java-guava")
|
(name "java-guava")
|
||||||
|
|
Loading…
Reference in a new issue