GNU bug report logs -
#26803
Java things
Previous Next
Reported by: Ricardo Wurmus <rekado <at> elephly.net>
Date: Sat, 6 May 2017 14:02:02 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
Message #290 received at 26803 <at> debbugs.gnu.org (full text, mbox):
Le 2017-05-10 20:04, Roel Janssen a écrit :
> Ricardo Wurmus writes:
>
>> * gnu/packages/java.scm (java-jsr305): New variable.
>> ---
>> gnu/packages/java.scm | 23 +++++++++++++++++++++++
>> 1 file changed, 23 insertions(+)
>>
>> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm
>> index 8006b4d21..3a104f4c5 100644
>> --- a/gnu/packages/java.scm
>> +++ b/gnu/packages/java.scm
>> @@ -1855,6 +1855,29 @@ included:
>> @end itemize\n")
>> (license license:asl2.0)))
>>
>> +(define-public java-jsr305
>> + (package
>> + (name "java-jsr305")
>> + (version "3.0.1")
>> + (source (origin
>> + (method url-fetch)
>> + (uri (string-append "http://repo1.maven.org/maven2/"
>> + "com/google/code/findbugs/"
>> + "jsr305/" version "/jsr305-"
>> + version "-sources.jar"))
>> + (sha256
>> + (base32
>> +
>> "1rh6jin9v7jqpq3kf1swl868l8i94r636n03pzpsmgr8v0lh9j2n"))))
>> + (build-system ant-build-system)
>> + (arguments
>> + `(#:tests? #f ; no tests included
>> + #:jar-name "jsr305.jar"))
>> + (home-page "http://findbugs.sourceforge.net/")
>> + (synopsis "Annotations for the static analyzer called findbugs")
>> + (description "This package provides annotations for the findbugs
>> package.
>> +It provides packages in the @code{javax.annotations} namespace.")
>
> Yes! I think I start to understand it now. javax.annotations is
> code-related because it's the name of the namespace.. Hence, @code{}.
>
>> + (license license:asl2.0)))
>> +
>> (define-public java-commons-cli
>> (package
>> (name "java-commons-cli")
>
> This looks straightforward, so LGTM!
>
> Kind regards,
> Roel Janssen
Hi,
I found a version 3.0.2 on github, although I'm not sure whether that's
the "official" jsr305 :
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/amaembo/jsr-305.git")
(commit
"d7734b13c61492982784560ed5b4f4bd6cf9bb2c")))
(file-name (string-append name "-" version))
(sha256
(base32
"1wk159136pgc6i54drbq2whazfmdilvfqlxj3k19s9dfwbayf621"))))
This bug report was last modified 8 years and 94 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.