From 99673424c6bfb56e6bb80f3012a1a9d08f0dd2e8 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 19 Mar 2024 14:33:56 +0200 Subject: [PATCH] gnu: Add rust-schemars-derive-0.6. * gnu/packages/crates-io.scm (rust-schemars-derive-0.6): New variable. Change-Id: Iad0d36975c0fda95e6b16c95500cda91c402f83a --- gnu/packages/crates-io.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 309f81c634..0e8619e3fb 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -63734,6 +63734,27 @@ Rust code.") for use with schemars.") (license license:expat))) +(define-public rust-schemars-derive-0.6 + (package + (inherit rust-schemars-derive-0.8) + (name "rust-schemars-derive") + (version "0.6.5") + (source + (origin + (method url-fetch) + (uri (crate-uri "schemars_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1a9h8bqqqd0i6605gyhz2jw2hi1wq1vfi262qrflkn3pyk75wlrq")))) + (arguments + `(#:cargo-inputs + (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde-derive-internals" ,rust-serde-derive-internals-0.25) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs + (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)))))) + (define-public rust-scoped-threadpool-0.1 (package (name "rust-scoped-threadpool")