mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-12 14:16:55 -05:00
gnu: Add java-bouncycastle-bcpkix.
* gnu/packages/java.scm (java-bouncycastle-bcpkix): New variable.
This commit is contained in:
parent
62315865df
commit
3120836732
1 changed files with 33 additions and 0 deletions
|
@ -6684,3 +6684,36 @@ (define-public java-bouncycastle-bcprov
|
||||||
(description "Bouncy Castle Provider (bcprov) is a cryptographic library
|
(description "Bouncy Castle Provider (bcprov) is a cryptographic library
|
||||||
for the Java programming language.")
|
for the Java programming language.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public java-bouncycastle-bcpkix
|
||||||
|
(package
|
||||||
|
(name "java-bouncycastle-bcpkix")
|
||||||
|
(version "1.58")
|
||||||
|
(source (origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri "https://bouncycastle.org/download/bcpkix-jdk15on-158.tar.gz")
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0is7qay02803s9f7lhnfcjlz61ni3hq5d7apg0iil7nbqkbfbcq2"))))
|
||||||
|
(build-system ant-build-system)
|
||||||
|
(arguments
|
||||||
|
`(#:jar-name "bouncycastle-bcpkix.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)))
|
||||||
|
(inputs
|
||||||
|
`(("bcprov" ,java-bouncycastle-bcprov)))
|
||||||
|
(home-page "https://www.bouncycastle.org")
|
||||||
|
(synopsis "Cryptographic library")
|
||||||
|
(description "Bouncy Castle Java API for PKIX, CMS, EAC, TSP, PKCS, OCSP,
|
||||||
|
CMP, and CRMF.")
|
||||||
|
(license license:expat)))
|
||||||
|
|
Loading…
Reference in a new issue