[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/07: gnu: Add rust-jni-glue-0.0.
From: |
guix-commits |
Subject: |
02/07: gnu: Add rust-jni-glue-0.0. |
Date: |
Sun, 3 Jan 2021 17:28:27 -0500 (EST) |
ngz pushed a commit to branch master
in repository guix.
commit 0ec523ef4b32f1f55f56cc6acda09b94782553a6
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Jan 3 23:19:16 2021 +0100
gnu: Add rust-jni-glue-0.0.
* gnu/packages/crates-io.scm (rust-jni-glue-0.0): New variable.
---
gnu/packages/crates-io.scm | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d1d4ffe..da3bda4 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")
- branch master updated (edf0043 -> 1670de3), guix-commits, 2021/01/03
- 01/07: gnu: Add rust-jni-sys-0.3., guix-commits, 2021/01/03
- 02/07: gnu: Add rust-jni-glue-0.0.,
guix-commits <=
- 03/07: gnu: Add rust-jni-0.14., guix-commits, 2021/01/03
- 04/07: gnu: Add rust-ndk-0.2., guix-commits, 2021/01/03
- 07/07: gnu: Add rust-ndk-glue-0.2., guix-commits, 2021/01/03
- 06/07: gnu: Add rust-android-logger-0.8., guix-commits, 2021/01/03
- 05/07: gnu: Add rust-android-log-sys-0.1., guix-commits, 2021/01/03