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>
This commit is contained in:
Valentin Ignatev 2020-01-26 16:09:06 +03:00 committed by Efraim Flashner
parent 6b11c1e401
commit c7d5b98dd9
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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")