summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-01-18 18:58:02 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:57:51 +0200
commit6e0d302d4efaa5de8faee243f55e3cbf79c41885 (patch)
treea9b83d7637bf6cdc458240bfb52cf7f67cd2b8a7 /gnu/packages
parent75af9b5e3adf4f8389e5e2faf4e35f9c819d405d (diff)
downloadguix-6e0d302d4efaa5de8faee243f55e3cbf79c41885.tar.gz
gnu: Add rust-serde-json-core-0.4.
* gnu/packages/crates-io.scm (rust-serde-json-core-0.4): New variable.

Change-Id: I00d2d6e0995ff1559bbd6e29ac18e97274cfbda1
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e342adb498..ede4953a32 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65109,6 +65109,24 @@ data.  This crate provides a wrapper that works with any existing Serde
 programs in rust.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-serde-json-core-0.4
+  (package
+    (inherit rust-serde-json-core-0.5)
+    (name "rust-serde-json-core")
+    (version "0.4.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "serde-json-core" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "10a7k6ly9ly4xkk30nqq2js7acrg7wjl73bpg43hzjib4zmaw540"))))
+    (arguments
+     `(#:cargo-inputs (("rust-heapless" ,rust-heapless-0.7)
+                       ("rust-ryu" ,rust-ryu-1)
+                       ("rust-serde" ,rust-serde-1))
+       #:cargo-development-inputs (("rust-serde-derive" ,rust-serde-derive-1))))))
+
 (define-public rust-serde-path-to-error-0.1
   (package
     (name "rust-serde-path-to-error")