[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#30417] [PATCH 02/11] gnu: Add java-plexus-cipher.
From: |
Julien Lepiller |
Subject: |
[bug#30417] [PATCH 02/11] gnu: Add java-plexus-cipher. |
Date: |
Sun, 11 Feb 2018 00:04:29 +0100 |
* gnu/packages/java.scm (java-plexus-cipher): New variable.
---
gnu/packages/java.scm | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
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 '())))
+(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/")
+ (synopsis "Encryption/decryption Component")
+ (description "Plexus-cipher contains a component to deal with encryption
+and decryption.")
+ (license license:asl2.0)))
+
(define-public java-asm
(package
(name "java-asm")
--
2.16.1
- [bug#30417] [PATCH] java-plexus and java-modello, Julien Lepiller, 2018/02/10
- [bug#30417] [PATCH 09/11] gnu: Add java-modello-test., Julien Lepiller, 2018/02/10
- [bug#30417] [PATCH 05/11] gnu: Add java-sisu-build-api., Julien Lepiller, 2018/02/10
- [bug#30417] [PATCH 02/11] gnu: Add java-plexus-cipher.,
Julien Lepiller <=
- [bug#30417] [PATCH 07/11] gnu: Add java-modello-plugins-java., Julien Lepiller, 2018/02/10
- [bug#30417] [PATCH 06/11] gnu: Add java-modello-core., Julien Lepiller, 2018/02/10
- [bug#30417] [PATCH 06/11] gnu: Add java-modello-core., Björn Höfling, 2018/02/14
- [bug#30417] [PATCH 06/11] gnu: Add java-modello-core., Julien Lepiller, 2018/02/14
- [bug#30417] [PATCH 06/11] gnu: Add java-modello-core., Björn Höfling, 2018/02/16
- [bug#30417] [PATCH 06/11] gnu: Add java-modello-core., Marius Bakke, 2018/02/17
- [bug#30417] [PATCH 06/11] gnu: Add java-modello-core., Julien Lepiller, 2018/02/24
- [bug#30417] [PATCH 06/11] gnu: Add java-modello-core., Marius Bakke, 2018/02/24