[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/44: gnu: Add rust-jni-0.21.
From: |
guix-commits |
Subject: |
25/44: gnu: Add rust-jni-0.21. |
Date: |
Sun, 5 Nov 2023 15:03:07 -0500 (EST) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e21c34b0b4bf1a36aca5535985d235735347dd62
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Nov 5 16:37:41 2023 +0200
gnu: Add rust-jni-0.21.
* gnu/packages/crates-io.scm (rust-jni-0.21): New variable.
(rust-jni-0.19): Inherit from rust-jni-0.21.
Change-Id: I15da50085ad9b36ec5cc2e3e43bdaa96dacd2ad9
---
gnu/packages/crates-io.scm | 48 ++++++++++++++++++++++++++++++++++++----------
1 file changed, 38 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d7fa3c3417..a289a14726 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38124,8 +38124,45 @@ strings and byte slices for sets of ASCII characters
or bytes.")
(base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
(arguments `(#:skip-build? #t))))
+(define-public rust-jni-0.21
+ (package
+ (name "rust-jni")
+ (version "0.21.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "jni" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "15wczfkr2r45slsljby12ymf2hij8wi5b104ghck9byjnwmsm1qs"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs (("rust-cesu8" ,rust-cesu8-1)
+ ("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-combine" ,rust-combine-4)
+ ("rust-java-locator" ,rust-java-locator-0.1)
+ ("rust-jni-sys" ,rust-jni-sys-0.3)
+ ("rust-libloading" ,rust-libloading-0.7)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-thiserror" ,rust-thiserror-1)
+ ("rust-walkdir" ,rust-walkdir-2)
+ ("rust-windows-sys" ,rust-windows-sys-0.45))
+ #:cargo-development-inputs (("rust-assert-matches"
,rust-assert-matches-1)
+ ("rust-bytemuck" ,rust-bytemuck-1)
+ ("rust-lazy-static" ,rust-lazy-static-1)
+ ("rust-rusty-fork" ,rust-rusty-fork-0.3))))
+ (home-page "https://github.com/jni-rs/jni-rs")
+ (synopsis "Rust bindings to the JNI")
+ (description
+ "This package provides Rust bindings to the JNI. It
+implements native Java methods for JVM and Android in Rust, call Java
+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.19
(package
+ (inherit rust-jni-0.21)
(name "rust-jni")
(version "0.19.0")
(source
@@ -38135,7 +38172,6 @@ strings and byte slices for sets of ASCII characters or
bytes.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1v0pn0i1wb8zp4wns4l8hz9689hqsplv7iba7hylaznvwg11ipy6"))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-inputs
(("rust-cesu8" ,rust-cesu8-1)
@@ -38145,15 +38181,7 @@ strings and byte slices for sets of ASCII characters
or bytes.")
("rust-thiserror" ,rust-thiserror-1)
("rust-walkdir" ,rust-walkdir-2))
#:cargo-development-inputs
- (("rust-lazy-static" ,rust-lazy-static-1))))
- (home-page "https://github.com/jni-rs/jni-rs")
- (synopsis "Rust bindings to the JNI")
- (description
- "This package provides Rust bindings to the JNI. It
-implements native Java methods for JVM and Android in Rust, call Java
-code from Rust, embed JVM in Rust applications and use any Java
-libraries.")
- (license (list license:expat license:asl2.0))))
+ (("rust-lazy-static" ,rust-lazy-static-1))))))
(define-public rust-jni-0.18
(package
- 08/44: gnu: rust-diesel-derives-1: Skip tests., (continued)
- 08/44: gnu: rust-diesel-derives-1: Skip tests., guix-commits, 2023/11/05
- 10/44: gnu: rust-serde-xml-rs-0.4: Fix tests., guix-commits, 2023/11/05
- 06/44: gnu: rust-tokio-executor-0.2: Skip tests., guix-commits, 2023/11/05
- 13/44: gnu: rust-wyz-0.4: Inherit from rust-wyz-0.5., guix-commits, 2023/11/05
- 21/44: gnu: Add rust-android-logger-0.11., guix-commits, 2023/11/05
- 23/44: gnu: rust-bytemuck-derive-1: Update to 1.5.0., guix-commits, 2023/11/05
- 30/44: gnu: rust-tokio-0.1: Fix build., guix-commits, 2023/11/05
- 37/44: gnu: rust-runtime-raw-0.3: Don't skip build., guix-commits, 2023/11/05
- 17/44: gnu: rust-syn-0.14: Fix tests., guix-commits, 2023/11/05
- 19/44: gnu: rust-tower-layer-0.3: Fix tests., guix-commits, 2023/11/05
- 25/44: gnu: Add rust-jni-0.21.,
guix-commits <=
- 41/44: gnu: rust-syn-0.11: Skip tests., guix-commits, 2023/11/05
- 09/44: gnu: rust-indicatif-0.16: Add missing inputs., guix-commits, 2023/11/05
- 11/44: gnu: rust-tokio-core-0.1: Update to 0.1.18., guix-commits, 2023/11/05
- 16/44: gnu: rust-reduce-0.1: Skip tests., guix-commits, 2023/11/05
- 22/44: gnu: rust-bytemuck-1: Update to 1.14.0., guix-commits, 2023/11/05
- 15/44: gnu: rust-insta-0.16: Fix tests., guix-commits, 2023/11/05
- 29/44: gnu: rust-combine-3: Fix tests., guix-commits, 2023/11/05
- 33/44: gnu: rust-futures-util-preview-0.3: Fix inputs., guix-commits, 2023/11/05
- 38/44: gnu: Add rust-runtime-tokio-0.3., guix-commits, 2023/11/05
- 44/44: gnu: rust-uint-0.9: Fix build., guix-commits, 2023/11/05