From patchwork Fri Mar 8 05:16:33 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Aaron Covrig X-Patchwork-Id: 61485 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0107227BBE2; Fri, 8 Mar 2024 05:20:46 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 01E5F27BBE9 for ; Fri, 8 Mar 2024 05:20:44 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riSeo-00015C-37; Fri, 08 Mar 2024 00:20:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riSel-000152-Uc for guix-patches@gnu.org; Fri, 08 Mar 2024 00:20:31 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riSel-0002Gt-LS for guix-patches@gnu.org; Fri, 08 Mar 2024 00:20:31 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riSfG-0002j3-Gh; Fri, 08 Mar 2024 00:21:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#69626] [PATCH rust-team] gnu: rust-ordered-float: Updated and added v4 Resent-From: Aaron Covrig Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Fri, 08 Mar 2024 05:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69626 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69626@debbugs.gnu.org Cc: Aaron Covrig , efraim@flashner.co.il X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: efraim@flashner.co.il Received: via spool by submit@debbugs.gnu.org id=B.170987525110451 (code B ref -1); Fri, 08 Mar 2024 05:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 8 Mar 2024 05:20:51 +0000 Received: from localhost ([127.0.0.1]:55864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riSf4-0002iU-GO for submit@debbugs.gnu.org; Fri, 08 Mar 2024 00:20:51 -0500 Received: from lists.gnu.org ([209.51.188.17]:39972) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riSez-0002iI-6L for submit@debbugs.gnu.org; Fri, 08 Mar 2024 00:20:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riSeS-00014C-TE for guix-patches@gnu.org; Fri, 08 Mar 2024 00:20:12 -0500 Received: from mail-yb1-xb2a.google.com ([2607:f8b0:4864:20::b2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riSeP-0001v2-U3 for guix-patches@gnu.org; Fri, 08 Mar 2024 00:20:12 -0500 Received: by mail-yb1-xb2a.google.com with SMTP id 3f1490d57ef6-dc6dcd9124bso570924276.1 for ; Thu, 07 Mar 2024 21:20:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ieee.org; s=google; t=1709875206; x=1710480006; darn=gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=dI/KoOLQOWqcufYJaOTmPL7iM1B6b909zY77v1lH3tc=; b=Jc8+X1WZ0wscdX+PCTWhVYBQxO2FfwqYDqTolYtBWz5QK4VQLxtCQZ3Tr7EgZ7VD5R kja8iH7NH5zjyDNPL9n7vQoL+qh8v2MEVv4MbxZRlZoRXFGfqq8ZjESzZfmtcYayqMy7 jtjS50qCizG2HZhu1aRLWOrOIOnyO4Vffv4BI= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709875206; x=1710480006; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dI/KoOLQOWqcufYJaOTmPL7iM1B6b909zY77v1lH3tc=; b=nYRlUa3UgvNFYfs+dysXPLaodnKlGgmjzZYK/HMjo6OOAAxx/P2p67XgXD138vxJPY NrOshNxvyQJd0GMY5jMRynPKwvZIVTH8Xrv2H48bwKuI8hiHoacgqcNWVYqF8MzpxYYK ojwAjhh9lhA43h25p2nsz293faN3l/xk1tcXI8TPCV6fQuZ7AoEcu5hdfNurxQefow+x EIgwObe3re9biZJi6G7kouJmynO3T06v36aGNZOAw2vldv1t76oXj8pKYfVUIQGM2Cu1 Grmp9WUHmaNRa5X0Qw2YkhtK0QLmKsS+d2LHdXy+ovi4B6t+s1Fuc62WhNgbGl8DKjOz yjXg== X-Gm-Message-State: AOJu0Yyg3myszYfcZOOuBC0f9LoHjPwHrcXniqPAQ0wJ2szabkQexPYd ke9TR6yJz+BI5bVgU9sxU9Yd0E4q/p2Q2dsqaDjNZTW5inSF5U39rh62/CZa43dG/68EFtHI+ql LdSX5+WyqtjBVZv/DUup+7vFf8H7wEonqztb1swP4zJjJOpJ87HzHws6Ngleuj6jlJ4/T9SUh+c Z6anwqGu3nKcV5MGWS55gQ+s3dLoqGQH9FPR6dZZG9 X-Google-Smtp-Source: AGHT+IFehlSFCrzzwTBTzYV5mlasgkS5fB/2+EKOXD4lvxEW+niQCDUCVVFQ7371U+8l6gHf+ptv6A== X-Received: by 2002:a25:8b8f:0:b0:dcd:2aa3:d744 with SMTP id j15-20020a258b8f000000b00dcd2aa3d744mr17901087ybl.17.1709875206166; Thu, 07 Mar 2024 21:20:06 -0800 (PST) Received: from localhost.localdomain (99-122-31-181.lightspeed.chtgtn.sbcglobal.net. [99.122.31.181]) by smtp.gmail.com with ESMTPSA id u9-20020a250949000000b00dce0f2db9acsm3798192ybm.34.2024.03.07.21.20.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 21:20:05 -0800 (PST) Date: Fri, 8 Mar 2024 00:16:33 -0500 Message-ID: <20240308051752.613660-1-aaron.covrig.us@ieee.org> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Received-SPF: pass client-ip=2607:f8b0:4864:20::b2a; envelope-from=aaron.covrig.us@ieee.org; helo=mail-yb1-xb2a.google.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.583, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Aaron Covrig X-ACL-Warn: , Aaron Covrig via Guix-patches X-Patchwork-Original-From: Aaron Covrig via Guix-patches via From: Aaron Covrig Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/crates-io.scm (rust-ordered-float): Added v4.2.0 * gnu/packages/crates-io.scm (rust-ordered-float): Updated v3 to v3.9.2 and enabled building * gnu/packages/crates-io.scm (rust-ordered-float): Updated v2 to v2.10.1 and enabled building * gnu/packages/crates-io.scm (rust-ordered-float): Updated v1 to v1.1.1 and enabled building * gnu/packages/crates-io.scm (rust-schemars): Updated v0.8 to v0.8.16 * gnu/packages/crates-io.scm (rust-schemars-derive): Updated v0.8 to v0.8.16 * gnu/packages/crates-io.scm (rust-schemars): Added v0.6.5 * gnu/packages/crates-io.scm (rust-schemars-derive): Added v0.6.5 --- gnu/packages/crates-io.scm | 210 +++++++++++++++++++++++++------------ 1 file changed, 142 insertions(+), 68 deletions(-) base-commit: d29e5a83e887cd2f4f459a12cbbfc40c77e55ce2 diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 1a08748392..c507ef6296 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -42,6 +42,7 @@ ;;; Copyright © 2024 Herman Rimm ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Suhail Singh +;;; Copyright © 2023, 2024 Aaron Covrig ;;; ;;; This file is part of GNU Guix. ;;; @@ -44115,71 +44116,98 @@ (define-public rust-ord-subset-3 PartialOrd types, like floats.") (license (list license:expat license:asl2.0)))) -(define-public rust-ordered-float-3 +(define-public rust-ordered-float-4 (package (name "rust-ordered-float") - (version "3.4.0") - (source (origin - (method url-fetch) - (uri (crate-uri "ordered-float" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 - "1gr31ksgbqariv6hz3s5bc15a5vh4k65dyn8m7j59lhnji0b2knq")))) + (version "4.2.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordered-float" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kjqcvvbcsibbx3hnj7ag06bd9gv2zfi5ja6rgyh2kbxbh3zfvd7")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-borsh" ,rust-borsh-1) ("rust-num-traits" ,rust-num-traits-0.2) ("rust-proptest" ,rust-proptest-1) ("rust-rand" ,rust-rand-0.8) ("rust-rkyv" ,rust-rkyv-0.7) ("rust-schemars" ,rust-schemars-0.8) ("rust-serde" ,rust-serde-1) - ("rust-speedy" ,rust-speedy-0.8)))) + ("rust-speedy" ,rust-speedy-0.8)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))) (home-page "https://github.com/reem/rust-ordered-float") (synopsis "Wrappers for total ordering on floats") (description "This package provides wrappers for total ordering on floats in Rust.") (license license:expat))) +(define-public rust-ordered-float-3 + (package + (inherit rust-ordered-float-4) + (name "rust-ordered-float") + (version "3.9.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "ordered-float" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1p3jkxlz89ndm4lmwr2n5kdnckhm5pcmqqkihkag259dff8c7qgi")))) + (arguments + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-bytemuck" ,rust-bytemuck-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-schemars" ,rust-schemars-0.8) + ("rust-serde" ,rust-serde-1) + ("rust-speedy" ,rust-speedy-0.8)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) + (define-public rust-ordered-float-2 (package (inherit rust-ordered-float-3) (name "rust-ordered-float") - (version "2.1.1") + (version "2.10.1") (source (origin (method url-fetch) (uri (crate-uri "ordered-float" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0632g8bacvras6nig1bb1ihgc560476jkrb3is6n542ll86q8vvn")))) + (base32 "075i108hr95pr7hy4fgxivib5pky3b6b22rywya5qyd2wmkrvwb8")))) (arguments - `(#:skip-build? - #t - #:cargo-inputs - (("rust-num-traits" ,rust-num-traits-0.2) - ("rust-serde" ,rust-serde-1)) - #:cargo-development-inputs - (("rust-serde-test" ,rust-serde-test-1)))))) + `(#:cargo-inputs (("rust-arbitrary" ,rust-arbitrary-1) + ("rust-num-traits" ,rust-num-traits-0.2) + ("rust-proptest" ,rust-proptest-1) + ("rust-rand" ,rust-rand-0.8) + ("rust-rkyv" ,rust-rkyv-0.7) + ("rust-schemars" ,rust-schemars-0.6) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-ordered-float-1 (package (inherit rust-ordered-float-2) (name "rust-ordered-float") - (version "1.0.2") + (version "1.1.1") (source (origin (method url-fetch) (uri (crate-uri "ordered-float" version)) - (file-name - (string-append name "-" version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 - "0625x96987kspdxbikry5mb7hsf5pdc5bbanxd8wjwqlx0ar71hq")))))) + (base32 "1drp3v9jsm1mn0wqp4p5y19j3bmz3w5rw4yxzi39zlld4wssy19k")))) + (arguments + `(#:cargo-inputs (("rust-num-traits" ,rust-num-traits-0.2) + ("rust-serde" ,rust-serde-1)) + #:cargo-development-inputs (("rust-serde-test" ,rust-serde-test-1)))))) (define-public rust-ordered-multimap-0.3 (package @@ -58661,67 +58689,113 @@ (define-public rust-scheduled-thread-pool-0.2 (define-public rust-schemars-0.8 (package (name "rust-schemars") - (version "0.8.8") + (version "0.8.16") (source - (origin - (method url-fetch) - (uri (crate-uri "schemars" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "1qvhq1yixygd8ihc0qxmnhw4x08fa44q88v088gvc6pa1k4a7df6")))) + (origin + (method url-fetch) + (uri (crate-uri "schemars" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0aadpjkaq7yl11b02pg4mwanylck328zg0q7w56dv6j89568z8j5")))) (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)))) + `(#:cargo-inputs (("rust-arrayvec" ,rust-arrayvec-0.5) + ("rust-arrayvec" ,rust-arrayvec-0.7) + ("rust-bigdecimal" ,rust-bigdecimal-0.3) + ("rust-bigdecimal" ,rust-bigdecimal-0.4) + ("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-2) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-schemars-derive" ,rust-schemars-derive-0.8) + ("rust-semver" ,rust-semver-1) + ("rust-serde" ,rust-serde-1) + ("rust-serde-json" ,rust-serde-json-1) + ("rust-smallvec" ,rust-smallvec-1) + ("rust-smol-str" ,rust-smol-str-0.1) + ("rust-url" ,rust-url-2) + ("rust-uuid" ,rust-uuid-0.8) + ("rust-uuid" ,rust-uuid-1)) + #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1) + ("rust-trybuild" ,rust-trybuild-1)))) (home-page "https://graham.cool/schemars/") (synopsis "Generate JSON Schemas from Rust code") (description "This Rust library can help generating JSON Schemas from 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 '("--" "--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") - (version "0.8.8") + (version "0.8.16") (source - (origin - (method url-fetch) - (uri (crate-uri "schemars_derive" version)) - (file-name (string-append name "-" version ".tar.gz")) - (sha256 - (base32 "16xfvm16d8nsxdx82fdcyqfi12v61lffyf1wmi34qqg82g74vbj1")))) + (origin + (method url-fetch) + (uri (crate-uri "schemars_derive" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0rq9sdcf5hyvsyj9v9nfy2jgjbjzaldjq4i6y2fcz72xlrpzsry7")))) (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)))) + `(#:cargo-inputs (("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-serde-derive-internals" ,rust-serde-derive-internals-0.26) + ("rust-syn" ,rust-syn-1)) + #:cargo-development-inputs (("rust-pretty-assertions" ,rust-pretty-assertions-1)))) (home-page "https://graham.cool/schemars/") (synopsis "Macros for @code{#[derive(JsonSchema)]}, for use with schemars") - (description "This package provides macros for @code{#[derive(JsonSchema)]}, + (description + "This package provides macros for @code{#[derive(JsonSchema)]}, 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")