Subject: [bug#75068] [PATCH rust-team v2 61/93] gnu: rust-once-cell-1: Order alphabetically.

From: Herman Rimm <[email-masked]>
Date: Tue, 24 Dec 2024 21:10:52 +0100

* gnu/packages/crates-io.scm (rust-once-cell-1): Order.

Change-Id: If0ba5cb32db642bde26f28e1c977b23e23e4e05c
---
 gnu/packages/crates-io.scm | 58 +++++++++++++++++++-------------------
 1 file changed, 29 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index e6af237874..077a65a563 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -53605,6 +53605,35 @@ (define-public rust-omnipath-0.1
     (description "This package provides a path utility library.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-once-cell-1
+  (package
+    (name "rust-once-cell")
+    (version "1.20.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "once_cell" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0xb7rw1aqr7pa4z3b00y7786gyf8awx2gca3md73afy76dzgwq8j"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-critical-section" ,rust-critical-section-1)
+        ("rust-parking-lot-core" ,rust-parking-lot-core-0.9)
+        ("rust-portable-atomic" ,rust-portable-atomic-1))
+       #:cargo-development-inputs
+       (("rust-critical-section" ,rust-critical-section-1)
+        ("rust-regex" ,rust-regex-1))))
+    (home-page "https://github.com/matklad/once_cell")
+    (synopsis "Single assignment cells and lazy values")
+    (description
+     "This package provides two new cell-like types, @code{unsync::OnceCell}
+and @code{sync::OnceCell}.  OnceCell might store arbitrary non-copy types, can
+be assigned to at most once and provide direct access to the stored
+contents.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-onig-6
   (package
     (name "rust-onig")
@@ -53658,35 +53687,6 @@ (define-public rust-onig-sys-69.6
 other crates to create safe wrappers around Oniguruma.")
     (license license:expat)))
 
-(define-public rust-once-cell-1
-  (package
-    (name "rust-once-cell")
-    (version "1.20.2")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "once_cell" version))
-       (file-name (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32 "0xb7rw1aqr7pa4z3b00y7786gyf8awx2gca3md73afy76dzgwq8j"))))
-    (build-system cargo-build-system)
-    (arguments
-     `(#:cargo-inputs
-       (("rust-critical-section" ,rust-critical-section-1)
-        ("rust-parking-lot-core" ,rust-parking-lot-core-0.9)
-        ("rust-portable-atomic" ,rust-portable-atomic-1))
-       #:cargo-development-inputs
-       (("rust-critical-section" ,rust-critical-section-1)
-        ("rust-regex" ,rust-regex-1))))
-    (home-page "https://github.com/matklad/once_cell")
-    (synopsis "Single assignment cells and lazy values")
-    (description
-     "This package provides two new cell-like types, @code{unsync::OnceCell}
-and @code{sync::OnceCell}.  OnceCell might store arbitrary non-copy types, can
-be assigned to at most once and provide direct access to the stored
-contents.")
-    (license (list license:expat license:asl2.0))))
-
 (define-public rust-oorandom-11
   (package
     (name "rust-oorandom")
-- 
2.45.2