gnu: Add rust-rustc-serialize.

* gnu/packages/crates-io.scm (rust-rustc-serialize): New variable.
This commit is contained in:
Efraim Flashner 2019-09-05 16:45:15 +03:00
parent c988c9bb85
commit c2c0ac1451
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1728,6 +1728,32 @@ (define-public rust-resolv-conf
(license (list license:asl2.0
license:expat))))
(define-public rust-rustc-serialize
(package
(name "rust-rustc-serialize")
(version "0.3.24")
(source
(origin
(method url-fetch)
(uri (crate-uri "rustc-serialize" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1nkg3vasg7nk80ffkazizgiyv3hb1l9g3d8h17cajbkx538jiwfw"))))
(build-system cargo-build-system)
(arguments
`(#:cargo-development-inputs
(("rust-rand" ,rust-rand-0.3))))
(home-page "https://github.com/rust-lang-deprecated/rustc-serialize")
(synopsis "Generic serialization/deserialization support")
(description
"This package provides generic serialization/deserialization support
corresponding to the @code{derive(RustcEncodable, RustcDecodable)} mode in the
compiler. Also includes support for hex, base64, and json encoding and
decoding.")
(license (list license:asl2.0
license:expat))))
(define-public rust-rustc-std-workspace-core
(package
(name "rust-rustc-std-workspace-core")