Subject: [bug#69257] [PATCH 138/228] gnu: Add rust-js-int-0.2.

From: Herman Rimm <[email-masked]>
Date: Sun, 18 Feb 2024 22:08:28 +0100

* gnu/packages/crates-web.scm (rust-js-int-0.2): Add variable.

Change-Id: Iba7b56b6b7a09a272722183a1bd4f45fb2c11fbf
---
 gnu/packages/crates-web.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 257e16fd1c..0572eee6fc 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3340,6 +3340,27 @@ (define-public rust-isahc-0.9
         ("rust-test-case" ,rust-test-case-1)
         ("rust-tracing-subscriber" ,rust-tracing-subscriber-0.2))))))
 
+(define-public rust-js-int-0.2
+  (package
+    (name "rust-js-int")
+    (version "0.2.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "js_int" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "02hn954yv5wksn26ck6lq19y3a0sswapf82hi65www5jf1agjdyr"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1))))
+    (home-page "https://github.com/ruma/js_int")
+    (synopsis "JavaScript-interoperable integer types")
+    (description
+      "This package provides JavaScript-interoperable integer types.")
+    (license license:expat)))
+
 (define-public rust-json5-0.4
   (package
     (name "rust-json5")
-- 
2.41.0