From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1el1H0-0004h1-7t for guix-patches@gnu.org; Sun, 11 Feb 2018 18:43:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1el1Gw-0005NI-83 for guix-patches@gnu.org; Sun, 11 Feb 2018 18:43:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:59070) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1el1Gw-0005N0-4W for guix-patches@gnu.org; Sun, 11 Feb 2018 18:43:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1el1Gv-0004Ru-V2 for guix-patches@gnu.org; Sun, 11 Feb 2018 18:43:01 -0500 Subject: [bug#30417] [PATCH 02/11] gnu: Add java-plexus-cipher. Resent-Message-ID: Date: Mon, 12 Feb 2018 00:42:06 +0100 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20180212004206.510f794f@alma-ubu> In-Reply-To: <20180210230438.26794-2-julien@lepiller.eu> References: <20180210234811.40ddec07@lepiller.eu> <20180210230438.26794-2-julien@lepiller.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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: Julien Lepiller Cc: 30417@debbugs.gnu.org On Sun, 11 Feb 2018 00:04:29 +0100 Julien Lepiller wrote: > * gnu/packages/java.scm (java-plexus-cipher): New variable. > --- > gnu/packages/java.scm | 36 ++++++++++++++++++++++++++++++++++++ > 1 file changed, 36 insertions(+) >=20 > diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm > index b7f3fd54e..8b51f7122 100644 > --- a/gnu/packages/java.scm > +++ b/gnu/packages/java.scm > @@ -2673,6 +2673,42 @@ archives (jar).") > (inputs '()) > (native-inputs '()))) > =20 > +(define-public java-plexus-cipher > + (package > + (name "java-plexus-cipher") > + (version "1.7") > + (source (origin > + (method url-fetch) > + (uri (string-append > "https://github.com/codehaus-plexus/plexus-cipher" > + "/archive/plexus-cipher-" version > ".tar.gz")) > + (sha256 > + (base32 > + > "1j3r8xzlxlk340snkjp6lk2ilkxlkn8qavsfiq01f43xmvv8ymk3")))) > + (build-system ant-build-system) > + (arguments > + `(#:jar-name "plexus-cipher.jar" > + #:source-dir "src/main/java" > + #:jdk ,icedtea-8 > + #:tests? #f; FIXME: requires sisu-inject-bean > + #:phases > + (modify-phases %standard-phases > + (add-before 'build 'copy-resources > + (lambda _ > + (copy-recursively "src/main/resources" "build/classes") > + (mkdir-p "build/classes/META-INF/sisu") > + (with-output-to-file > "build/classes/META-INF/sisu/javax.inject.Named" > + (lambda _ > + (display > "org.sonatype.plexus.components.cipher.DefaultPlexusCipher\n"))) > + #t))))) > + (inputs > + `(("java-cdi-api" ,java-cdi-api) > + ("java-javax-inject" ,java-javax-inject))) > + (home-page "http://codehaus-plexus.github.io/plexus-cipher/") For the Homepage I get a 404. That's what I find as an alternative: https://github.com/sonatype/plexus-cipher Otherwise, LGTM Bj=C3=B6rn