diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-09-05 16:45:15 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-09-06 15:45:57 +0300 |
commit | c2c0ac145183742ed04d58c0dc893886a5b07575 (patch) | |
tree | 3041f7cd6d8ef5dd0f656e4a418be0057f8e4a49 /gnu/packages | |
parent | c988c9bb8588fecba465f4d689b44082e493e662 (diff) | |
download | guix-patches-c2c0ac145183742ed04d58c0dc893886a5b07575.tar guix-patches-c2c0ac145183742ed04d58c0dc893886a5b07575.tar.gz |
gnu: Add rust-rustc-serialize.
* gnu/packages/crates-io.scm (rust-rustc-serialize): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1c607161c9..29d8da51d4 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -1728,6 +1728,32 @@ system calls.") (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") |