From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:55488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8XWp-0002FL-7W for guix-patches@gnu.org; Wed, 10 May 2017 15:44:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8XWl-0008Je-3i for guix-patches@gnu.org; Wed, 10 May 2017 15:44:07 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:34445) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8XWl-0008J8-0Q for guix-patches@gnu.org; Wed, 10 May 2017 15:44:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8XWk-000477-DX for guix-patches@gnu.org; Wed, 10 May 2017 15:44:02 -0400 Subject: bug#26803: [PATCH 25/36] gnu: Add java-guava. Resent-Message-ID: References: <20170506153617.3074-1-rekado@elephly.net> <20170506153617.3074-25-rekado@elephly.net> <87bmr0bn8l.fsf@gnu.org> From: Ricardo Wurmus In-reply-to: <87bmr0bn8l.fsf@gnu.org> Date: Wed, 10 May 2017 21:43:39 +0200 Message-ID: <87bmr0h504.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Roel Janssen Cc: 26803@debbugs.gnu.org Roel Janssen writes: > Ricardo Wurmus writes: > >> * gnu/packages/java.scm (java-guava): New variable. >> --- >> gnu/packages/java.scm | 52 +++++++++++++++++++++++++++++++++++++++++++++++++++ >> 1 file changed, 52 insertions(+) >> >> diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm >> index 3a104f4c5..a9faf681d 100644 >> --- a/gnu/packages/java.scm >> +++ b/gnu/packages/java.scm >> @@ -1878,6 +1878,58 @@ included: >> It provides packages in the @code{javax.annotations} namespace.") >> (license license:asl2.0))) >> >> +(define-public java-guava >> + (package >> + (name "java-guava") >> + ;; This is the last release of Guava that can be built with Java 7. >> + (version "20.0") >> + (source (origin >> + (method url-fetch) >> + (uri (string-append "https://github.com/google/guava/" >> + "releases/download/v" version >> + "/guava-" version "-sources.jar")) >> + (sha256 >> + (base32 >> + "1gawrs5gi6j5hcfxdgpnfli75vb9pfi4sn09pnc8xacr669yajwr")))) >> + (build-system ant-build-system) >> + (arguments >> + `(#:tests? #f ; no tests included > > Not really important. But should we indent the comments this way? This is what Emacs does when indenting the whole expression. I have no preference either way, so I left it. -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net