[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#53401] [PATCH 18/49] gnu: Add rust-schemars[-derive] 0.8.8.
From: |
Attila Lendvai |
Subject: |
[bug#53401] [PATCH 18/49] gnu: Add rust-schemars[-derive] 0.8.8. |
Date: |
Thu, 20 Jan 2022 22:50:14 +0100 |
* gnu/packages/crates-io.scm (rust-schemars-0.8): New variable.
(rust-schemars-derive-0.8): New variable.
---
gnu/packages/crates-io.scm | 62 ++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2c363e4a8b..d766ddafd2 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -47901,6 +47901,68 @@ (define-public rust-scheduled-thread-pool-0.2
(description "This package provides a scheduled thread pool.")
(license (list license:expat license:asl2.0))))
+(define-public rust-schemars-0.8
+ (package
+ (name "rust-schemars")
+ (version "0.8.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "schemars" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1qvhq1yixygd8ihc0qxmnhw4x08fa44q88v088gvc6pa1k4a7df6"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-arrayvec" ,rust-arrayvec-0.5)
+ ("rust-bigdecimal" ,rust-bigdecimal-0.3)
+ ("rust-bytes" ,rust-bytes-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-dyn-clone" ,rust-dyn-clone-1)
+ ("rust-either" ,rust-either-1)
+ ("rust-enumset" ,rust-enumset-1)
+ ("rust-indexmap" ,rust-indexmap-1)
+ ("rust-rust-decimal" ,rust-rust-decimal-1)
+ ("rust-schemars-derive" ,rust-schemars-derive-0.8)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-serde-json" ,rust-serde-json-1)
+ ("rust-smallvec" ,rust-smallvec-1)
+ ("rust-url" ,rust-url-2)
+ ("rust-uuid" ,rust-uuid-0.8))
+ #:cargo-development-inputs
+ (("rust-pretty-assertions" ,rust-pretty-assertions-0.6)
+ ("rust-trybuild" ,rust-trybuild-1))))
+ (home-page "https://graham.cool/schemars/")
+ (synopsis "Generate JSON Schemas from Rust code")
+ (description synopsis)
+ (license license:expat)))
+
+(define-public rust-schemars-derive-0.8
+ (package
+ (name "rust-schemars-derive")
+ (version "0.8.8")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "schemars-derive" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "16xfvm16d8nsxdx82fdcyqfi12v61lffyf1wmi34qqg82g74vbj1"))))
+ (build-system cargo-build-system)
+ (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))))
+ (home-page "https://graham.cool/schemars/")
+ (synopsis "Macros for #[derive(JsonSchema)], for use with schemars")
+ (description synopsis)
+ (license license:expat)))
+
(define-public rust-scoped-threadpool-0.1
(package
(name "rust-scoped-threadpool")
--
2.34.0
- [bug#53401] [PATCH 01/49] gnu: Add rust-rustc-hex 2.1.0 and 1.0.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 02/49] gnu: Add rust-parity-bytes 0.1.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 03/49] gnu: Add rust-ethereum-types 0.9.2 and 0.12.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 23/49] gnu: Add rust-secp256k1 0.21.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 24/49] gnu: Add rust-secp256k1 0.20.3., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 14/49] gnu: Add rust-serde-derive-internals 0.25.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 19/49] gnu: Add rust-bitcoin-hashes 0.10.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 18/49] gnu: Add rust-schemars[-derive] 0.8.8.,
Attila Lendvai <=
- [bug#53401] [PATCH 47/49] gnu: Add rust-impl-num-traits 0.1.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 28/49] gnu: Add rust-impl-trait-for-tuples 0.2.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 30/49] gnu: Add rust-bitvec 0.20.4., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 07/49] gnu: Add rust-digest-0.10 0.10.1., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 21/49] gnu: Add rust-ripemd 0.1.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 37/49] gnu: Add rust-tiny-keccak 1.5.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 12/49] gnu: Add rust-scrypt 0.5.0., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 36/49] gnu: Add rust-ethereum-types-serialize 0.2.2., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 04/49] gnu: Add rust-block-buffer-0.10., Attila Lendvai, 2022/01/20
- [bug#53401] [PATCH 15/49] gnu: Add rust-core 0.3.3., Attila Lendvai, 2022/01/20