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 <efraim@flashner.co.il>
This commit is contained in:
Herman Rimm 2024-12-24 11:32:12 +01:00 committed by Efraim Flashner
parent ce3945660d
commit 68ff803682
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -1202,35 +1202,6 @@ (define-public rust-winreg-0.52
"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 @@ (define-public rust-windows-x86-64-msvc-0.28
(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)