mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-21 01:26:43 +01:00
gnu: java-jnacl: Update to 0.1.0-2.094e819.
* gnu/packages/java.scm (java-jnacl): Update to 0.1.0-2.094e819.
This commit is contained in:
parent
8333c206a9
commit
3e87923a67
1 changed files with 48 additions and 46 deletions
|
@ -7511,53 +7511,55 @@ (define-public java-testng
|
||||||
(license license:asl2.0)))
|
(license license:asl2.0)))
|
||||||
|
|
||||||
(define-public java-jnacl
|
(define-public java-jnacl
|
||||||
(package
|
(let ((commit "094e819afdd63ea81a499b3bcb42a271006bebd9")
|
||||||
(name "java-jnacl")
|
(revision "2"))
|
||||||
(version "0.1.0")
|
(package
|
||||||
(source (origin
|
(name "java-jnacl")
|
||||||
(method git-fetch)
|
(version (string-append "0.1.0-" revision "." (string-take commit 7)))
|
||||||
(uri (git-reference
|
(source (origin
|
||||||
(url "https://github.com/neilalexander/jnacl")
|
(method git-fetch)
|
||||||
(commit "40c322e0a42637ab17cdf941138eeaf2494055f8")))
|
(uri (git-reference
|
||||||
(sha256
|
(url "https://github.com/neilalexander/jnacl.git")
|
||||||
(base32
|
(commit commit)))
|
||||||
"1pspnmp44q61a2q4bpslpxw86rfn8s5l0xgvyrikqgdvg7ypx597"))))
|
(sha256
|
||||||
(build-system ant-build-system)
|
(base32
|
||||||
(arguments
|
"1d6g6xhn83byv5943n7935wwjsk0ibk0qdvqgr699qqgqqmwisbb"))))
|
||||||
`(#:jar-name "java-jnacl.jar"
|
(build-system ant-build-system)
|
||||||
#:source-dir "src/main/java"
|
(arguments
|
||||||
#:jdk ,icedtea-8
|
`(#:jar-name "java-jnacl.jar"
|
||||||
#:phases
|
#:source-dir "src/main/java"
|
||||||
(modify-phases %standard-phases
|
#:jdk ,icedtea-8
|
||||||
(add-before 'build 'fix-tests
|
#:phases
|
||||||
(lambda _
|
(modify-phases %standard-phases
|
||||||
(substitute* '("src/test/java/com/neilalexander/jnacl/NaClTest.java"
|
(add-before 'build 'fix-tests
|
||||||
"src/test/java/com/neilalexander/jnacl/NaclSecretBoxTest.java")
|
(lambda _
|
||||||
(("assertions.Assertions") "assertions.api.Assertions"))
|
(substitute* '("src/test/java/com/neilalexander/jnacl/NaClTest.java"
|
||||||
#t))
|
"src/test/java/com/neilalexander/jnacl/NaclSecretBoxTest.java")
|
||||||
(replace 'check
|
(("assertions.Assertions") "assertions.api.Assertions"))
|
||||||
(lambda _
|
#t))
|
||||||
(invoke "ant" "compile-tests")
|
(replace 'check
|
||||||
(invoke "java" "-cp" (string-append (getenv "CLASSPATH")
|
(lambda _
|
||||||
":build/classes"
|
(invoke "ant" "compile-tests")
|
||||||
":build/test-classes")
|
(invoke "java" "-cp" (string-append (getenv "CLASSPATH")
|
||||||
"org.testng.TestNG" "-testclass"
|
":build/classes"
|
||||||
"build/test-classes/com/neilalexander/jnacl/NaclSecretBoxTest.class")
|
":build/test-classes")
|
||||||
(invoke "java" "-cp" (string-append (getenv "CLASSPATH")
|
"org.testng.TestNG" "-testclass"
|
||||||
":build/classes"
|
"build/test-classes/com/neilalexander/jnacl/NaclSecretBoxTest.class")
|
||||||
":build/test-classes")
|
(invoke "java" "-cp" (string-append (getenv "CLASSPATH")
|
||||||
"org.testng.TestNG" "-testclass"
|
":build/classes"
|
||||||
"build/test-classes/com/neilalexander/jnacl/NaClTest.class")
|
":build/test-classes")
|
||||||
#t)))))
|
"org.testng.TestNG" "-testclass"
|
||||||
(native-inputs
|
"build/test-classes/com/neilalexander/jnacl/NaClTest.class")
|
||||||
`(("java-testng" ,java-testng)
|
#t)))))
|
||||||
("java-fest-util" ,java-fest-util)
|
(native-inputs
|
||||||
("java-fest-assert" ,java-fest-assert)))
|
`(("java-testng" ,java-testng)
|
||||||
(home-page "https://github.com/neilalexander/jnacl")
|
("java-fest-util" ,java-fest-util)
|
||||||
(synopsis "Java implementation of NaCl")
|
("java-fest-assert" ,java-fest-assert)))
|
||||||
(description "Pure Java implementation of the NaCl: Networking and
|
(home-page "https://github.com/neilalexander/jnacl")
|
||||||
|
(synopsis "Java implementation of NaCl")
|
||||||
|
(description "Pure Java implementation of the NaCl: Networking and
|
||||||
Cryptography library.")
|
Cryptography library.")
|
||||||
(license license:bsd-2)))
|
(license license:bsd-2))))
|
||||||
|
|
||||||
(define-public java-mvel2
|
(define-public java-mvel2
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue