diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 13:20:49 +0300 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2023-10-22 13:20:49 +0300 |
commit | a72d97dc5009ba281e88db199ab83897517ae72c (patch) | |
tree | df79998e81d1b21f282cf5ab35930b783b82a227 /gnu/packages | |
parent | d965141e71ceee1aa9af3d15a2217e047189e873 (diff) |
gnu: Add rust-rmp-serde-1.
* gnu/packages/crates-io.scm (rust-rmp-serde-1): New variable.
(rust-rmp-serde-0.15): Inherit from rust-rmp-serde-1.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 26b41c2185..af6f0777e2 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57273,29 +57273,51 @@ writers and readers for primitive values with direct mapping between binary MessagePack format.") (license license:expat))) -(define-public rust-rmp-serde-0.15 +(define-public rust-rmp-serde-1 (package (name "rust-rmp-serde") - (version "0.15.5") + (version "1.1.2") (source (origin (method url-fetch) (uri (crate-uri "rmp-serde" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "178f4qlicldm9iy74q4wdqldk5i11p1ad30wzs9avx04mpwwygkj")))) + (base32 "12i5aglyni58hlq19pi58z1z6a1hv6l04p9y8ms8l3cqx9gaizmz")))) (build-system cargo-build-system) (arguments - `(#:skip-build? #t + `(#:tests? #f ; use of undeclared crate or module `rmpv` #:cargo-inputs (("rust-byteorder" ,rust-byteorder-1) ("rust-rmp" ,rust-rmp-0.8) - ("rust-serde" ,rust-serde-1)))) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs + (("rust-serde-bytes" ,rust-serde-bytes-0.11) + ("rust-serde-derive" ,rust-serde-derive-1)))) (home-page "https://github.com/3Hren/msgpack-rust") (synopsis "Serde bindings for RMP") (description "This crate provides Serde bindings for RMP.") (license license:expat))) +(define-public rust-rmp-serde-0.15 + (package + (inherit rust-rmp-serde-1) + (name "rust-rmp-serde") + (version "0.15.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "rmp-serde" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "178f4qlicldm9iy74q4wdqldk5i11p1ad30wzs9avx04mpwwygkj")))) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-byteorder" ,rust-byteorder-1) + ("rust-rmp" ,rust-rmp-0.8) + ("rust-serde" ,rust-serde-1)))))) + (define-public rust-rmp-serde-0.13 (package (name "rust-rmp-serde") |