summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorValentin Ignatev <valentignatev@gmail.com>2020-01-26 16:09:06 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-02-26 14:00:53 +0200
commitc7d5b98dd9a593564a73ef3e1f532a77d473597d (patch)
tree750856f0f592bcbd69b4ec262ea537c710e0cc78 /gnu
parent6b11c1e401c242eea3d53cc40e314c017701836d (diff)
gnu: Add rust-serde-json-0.9.
* gnu/packages/crates-io.scm (rust-serde-json-0.9): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm25
1 files changed, 25 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index edae31ce6c..a735df49d7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14421,6 +14421,31 @@ for the serde framework.")
"This package provides a JSON serialization file format.")
(license (list license:expat license:asl2.0))))
+(define-public rust-serde-json-0.9
+ (package
+ (inherit rust-serde-json-1.0)
+ (name "rust-serde-json")
+ (version "0.9.10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "serde_json" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "188nbf56m7p6mnh3xd71rwqxd4g95lqh8gsl7mfy3lp7gd4cz2xd"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-dtoa" ,rust-dtoa-0.4)
+ ("rust-itoa" ,rust-itoa-0.3)
+ ("rust-linked-hash-map" ,rust-linked-hash-map-0.4)
+ ("rust-num-traits" ,rust-num-traits-0.1)
+ ("rust-serde" ,rust-serde-0.9))
+ #:cargo-development-inputs
+ (("rust-serde-derive" ,rust-serde-derive-0.9))))))
+
(define-public rust-serde-macros-0.4
(package
(name "rust-serde-macros")