efraim pushed a commit to branch rust-team
in repository guix.
commit 0f4933be85f9a848776de1e0df33d31d592fe8b2
Author: Herman Rimm <[email protected]>
AuthorDate: Tue Dec 24 11:32:12 2024 +0100
gnu: rust-winreg-0.51: Order alphabetically.
* gnu/packages/crates-windows.scm (rust-winreg-0.51): Order.
Change-Id: Iaeeae75c6f3ad0faf297a714bf687f756cdc3581
Signed-off-by: Efraim Flashner <[email protected]>
---
gnu/packages/crates-windows.scm | 58 ++++++++++++++++++++---------------------
1 file changed, 29 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/crates-windows.scm b/gnu/packages/crates-windows.scm
index e86b109a3c..45282a0a93 100644
--- a/gnu/packages/crates-windows.scm
+++ b/gnu/packages/crates-windows.scm
@@ -1202,35 +1202,6 @@ color in a Windows console.")
"This package provides Rust bindings to MS Windows Registry API.")
(license license:expat)))
-(define-public rust-winreg-0.51
- (package
- (inherit rust-winreg-0.52)
- (name "rust-winreg")
- (version "0.51.0")
- (source
- (origin
- (method url-fetch)
- (uri (crate-uri "winreg" version))
- (file-name (string-append name "-" version ".tar.gz"))
- (sha256
- (base32 "1z48nmaskwsiyyq9576sgf8ya3fvf1xg3kma8q7n8ml1jkvkszwk"))
- (snippet
- #~(begin (use-modules (guix build utils))
- (substitute* "Cargo.toml"
- (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
- (string-append "\"^" version)))))))
- (build-system cargo-build-system)
- (arguments
- `(#:skip-build? #t ; OS not supported
- #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
- ("rust-chrono" ,rust-chrono-0.4)
- ("rust-serde" ,rust-serde-1)
- ("rust-windows-sys" ,rust-windows-sys-0.48))
- #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)
- ("rust-serde-bytes" ,rust-serde-bytes-0.11)
- ("rust-serde-derive" ,rust-serde-derive-1)
- ("rust-tempfile" ,rust-tempfile-3))))))
-
(define-public rust-windows-0.58
(package
(name "rust-windows")
@@ -3113,6 +3084,35 @@ windows crate.")
(base32
"17z8q25pd3dp6b84qm9nlayd3ym78sbryxlqmgcxvz9vpmy8qarz"))))))
+(define-public rust-winreg-0.51
+ (package
+ (inherit rust-winreg-0.52)
+ (name "rust-winreg")
+ (version "0.51.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "winreg" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1z48nmaskwsiyyq9576sgf8ya3fvf1xg3kma8q7n8ml1jkvkszwk"))
+ (snippet
+ #~(begin (use-modules (guix build utils))
+ (substitute* "Cargo.toml"
+ (("\"~([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
+ (string-append "\"^" version)))))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t ; OS not supported
+ #:cargo-inputs (("rust-cfg-if" ,rust-cfg-if-1)
+ ("rust-chrono" ,rust-chrono-0.4)
+ ("rust-serde" ,rust-serde-1)
+ ("rust-windows-sys" ,rust-windows-sys-0.48))
+ #:cargo-development-inputs (("rust-rand" ,rust-rand-0.3)
+ ("rust-serde-bytes" ,rust-serde-bytes-0.11)
+ ("rust-serde-derive" ,rust-serde-derive-1)
+ ("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-winreg-0.50
(package
(inherit rust-winreg-0.51)