guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

36/68: gnu: Add rust-schemars-0.6.


From: guix-commits
Subject: 36/68: gnu: Add rust-schemars-0.6.
Date: Wed, 20 Mar 2024 11:24:33 -0400 (EDT)

efraim pushed a commit to branch rust-team
in repository guix.

commit 66120a6fb6c46de2bf63fcecff8e106e88062ea1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Mar 19 14:34:26 2024 +0200

    gnu: Add rust-schemars-0.6.
    
    * gnu/packages/crates-io.scm (rust-schemars-0.6): New variable.
    
    Change-Id: I5f4fddac6b524f2b90999faeaa21db808eb92a3a
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a0dd01d101..363df4e4b5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63535,6 +63535,33 @@ single-cell matrices.")
 Rust code.")
     (license license:expat)))
 
+(define-public rust-schemars-0.6
+  (package
+    (inherit rust-schemars-0.8)
+    (name "rust-schemars")
+    (version "0.6.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "schemars" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1v6acgxkbhaw7fzg4mp09jv231f0mr224my629435wxasrrrfmh7"))))
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=doc_comments_struct")
+       #:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5)
+                       ("rust-chrono" ,rust-chrono-0.4)
+                       ("rust-either" ,rust-either-1)
+                       ("rust-indexmap" ,rust-indexmap-1)
+                       ("rust-schemars-derive" ,rust-schemars-derive-0.6)
+                       ("rust-serde" ,rust-serde-1)
+                       ("rust-serde-json" ,rust-serde-json-1)
+                       ("rust-smallvec" ,rust-smallvec-1)
+                       ("rust-uuid" ,rust-uuid-0.8))
+       #:cargo-development-inputs
+       (("rust-pretty-assertions" ,rust-pretty-assertions-0.6))))))
+
 (define-public rust-schemars-derive-0.8
   (package
     (name "rust-schemars-derive")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]