summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-24 16:28:42 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-07 19:29:39 +0300
commit673d1562c53ffab85dd4f78a8846591d20ab37bc (patch)
treefe765f91c10575801b6eabb812e853a94dee61a0 /gnu/packages
parent2bad1ba294c89cab7bf2f5c3edc917b6fa3a7fc2 (diff)
downloadguix-673d1562c53ffab85dd4f78a8846591d20ab37bc.tar.gz
gnu: Add rust-jni-0.19.
* gnu/packages/crates-io.scm (rust-jni-0.19): New variable.
(rust-jni-0.18): Inherit from rust-jni-0.19.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm29
1 files changed, 26 insertions, 3 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8446aaf3ea..d4575b1ffc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -30789,17 +30789,17 @@ strings and byte slices for sets of ASCII characters or bytes.")
         (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
     (arguments `(#:skip-build? #t))))
 
-(define-public rust-jni-0.18
+(define-public rust-jni-0.19
   (package
     (name "rust-jni")
-    (version "0.18.0")
+    (version "0.19.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "jni" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1brglk3kfia9wkr6rkm6p297b8qk6rv3k8rf6jjiqc74l49735i4"))))
+        (base32 "1v0pn0i1wb8zp4wns4l8hz9689hqsplv7iba7hylaznvwg11ipy6"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -30820,6 +30820,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.18
+  (package
+    (inherit rust-jni-0.19)
+    (name "rust-jni")
+    (version "0.18.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jni" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1brglk3kfia9wkr6rkm6p297b8qk6rv3k8rf6jjiqc74l49735i4"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-cesu8" ,rust-cesu8-1)
+        ("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))))))
+
 (define-public rust-jni-0.14
   (package
     (inherit rust-jni-0.18)