aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 23:19:16 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-01-03 23:19:16 +0100
commit0ec523ef4b32f1f55f56cc6acda09b94782553a6 (patch)
treef2e7f9e208b3f3e3a1d861102d73cef876c34527
parentdd450f606e3097f17fa4f0de9f569886a8472863 (diff)
downloadguix-0ec523ef4b32f1f55f56cc6acda09b94782553a6.tar.gz
guix-0ec523ef4b32f1f55f56cc6acda09b94782553a6.zip
gnu: Add rust-jni-glue-0.0.
* gnu/packages/crates-io.scm (rust-jni-glue-0.0): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1d4ffe3ef..da3bda4d0c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14820,6 +14820,29 @@ primitives to an @code{io::Write}.")
(native-inputs
`(("jemalloc" ,jemalloc)))))
+(define-public rust-jni-glue-0.0
+ (package
+ (name "rust-jni-glue")
+ (version "0.0.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jni-glue" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "054kc2hkdfjiihy7ssrn97s9hs35c2v32ph2h0jlv4vkazx39ddb"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-jni-sys" ,rust-jni-sys-0.3)
+ ("rust-lazy-static" ,rust-lazy-static-1))))
+ (home-page "https://github.com/MaulingMonkey/jni-bindgen")
+ (synopsis "Glue code to accompany the jni-bindgen code generator")
+ (description
+ "This package provides manually written glue code to accompany
+the jni-bindgen code generator for binding to JVM APIs from Rust.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-jni-sys-0.3
(package
(name "rust-jni-sys")