diff options
author | Julien Lepiller <julien@lepiller.eu> | 2017-10-30 18:51:59 +0100 |
---|---|---|
committer | Julien Lepiller <julien@lepiller.eu> | 2017-11-02 13:07:07 +0100 |
commit | 62315865dfeacf2d8d06b1fdc8159ad2953ea1b6 (patch) | |
tree | f09d57d52d6a0c4d7723656732b8de9b744d6f9c /gnu/packages | |
parent | d54d7d31ac3b7679e1d2d8d98750f2cf8d748f7e (diff) | |
download | guix-62315865dfeacf2d8d06b1fdc8159ad2953ea1b6.tar guix-62315865dfeacf2d8d06b1fdc8159ad2953ea1b6.tar.gz |
gnu: Add java-bouncycastle-bcprov.
* gnu/packages/java.scm (java-bouncycastle-bcprov): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/java.scm | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/java.scm b/gnu/packages/java.scm index 1dedb13613..01dfbafa26 100644 --- a/gnu/packages/java.scm +++ b/gnu/packages/java.scm @@ -6653,3 +6653,34 @@ configuration and string construction.") (description "LZ4 - Java is a Java port of the popular lz4 compression algorithms and xxHash hashing algorithm.") (license license:asl2.0))) + +(define-public java-bouncycastle-bcprov + (package + (name "java-bouncycastle-bcprov") + (version "1.58") + (source (origin + (method url-fetch) + (uri "https://bouncycastle.org/download/bcprov-jdk15on-158.tar.gz") + (sha256 + (base32 + "1hgkg96llbvgs8i0krwz2n0j7wlg6jfnq8w8kg0cc899j0wfmf3n")))) + (build-system ant-build-system) + (arguments + `(#:jar-name "bouncycastle-bcprov.jar" + #:tests? #f; no tests + #:source-dir "src" + #:phases + (modify-phases %standard-phases + (add-before 'configure 'unzip-src + (lambda _ + (mkdir-p "src") + (with-directory-excursion "src" + (zero? (system* "unzip" "../src.zip")))))))) + (native-inputs + `(("unzip" ,unzip) + ("junit" ,java-junit))) + (home-page "https://www.bouncycastle.org") + (synopsis "Cryptographic library") + (description "Bouncy Castle Provider (bcprov) is a cryptographic library +for the Java programming language.") + (license license:expat))) |