me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-jni-0.18.

* gnu/packages/crates-io.scm (rust-jni-0.18): New variable.
(rust-jni-0.14): Inherit from above.
master
Nicolas Goaziou 2021-01-23 09:57:34 +01:00
parent c07313ccfa
commit 1f2cca55a2
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 28 additions and 5 deletions

View File

@ -16659,25 +16659,25 @@ primitives to an @code{io::Write}.")
(native-inputs
`(("jemalloc" ,jemalloc)))))
(define-public rust-jni-0.14
(define-public rust-jni-0.18
(package
(name "rust-jni")
(version "0.14.0")
(version "0.18.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "jni" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "00jl4jzzbbcf1nyziras5drp501xsk89g0132pwg194ilh6k308r"))))
(base32 "1brglk3kfia9wkr6rkm6p297b8qk6rv3k8rf6jjiqc74l49735i4"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cesu8" ,rust-cesu8-1)
("rust-combine" ,rust-combine-3)
("rust-error-chain" ,rust-error-chain-0.12)
("rust-combine" ,rust-combine-4)
("rust-jni-sys" ,rust-jni-sys-0.3)
("rust-log" ,rust-log-0.4)
("rust-thiserror" ,rust-thiserror-1)
("rust-walkdir" ,rust-walkdir-2))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1))))
@ -16690,6 +16690,29 @@ code from Rust, embed JVM in Rust applications and use any Java
libraries.")
(license (list license:expat license:asl2.0))))
(define-public rust-jni-0.14
(package
(inherit rust-jni-0.18)
(name "rust-jni")
(version "0.14.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "jni" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "00jl4jzzbbcf1nyziras5drp501xsk89g0132pwg194ilh6k308r"))))
(arguments
`(#:cargo-inputs
(("rust-cesu8" ,rust-cesu8-1)
("rust-combine" ,rust-combine-3)
("rust-error-chain" ,rust-error-chain-0.12)
("rust-jni-sys" ,rust-jni-sys-0.3)
("rust-log" ,rust-log-0.4)
("rust-walkdir" ,rust-walkdir-2))
#:cargo-development-inputs
(("rust-lazy-static" ,rust-lazy-static-1))))))
(define-public rust-jni-glue-0.0
(package
(name "rust-jni-glue")