me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-windows-x86-64-msvc-0.52.

* gnu/packages/crates-io.scm (rust-windows-x86-64-msvc-0.52): New
variable.
(rust-windows-x86-64-msvc-0.48): Inherit from
rust-windows-x86-64-msvc-0.52.

Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
Change-Id: Ie0668e456b88da2f47f6dbccde2b4260d5b58cf9
master
Daniel Ziltener 2023-12-11 18:58:23 +01:00 committed by Efraim Flashner
parent c9af6e6528
commit 920b127c50
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 19 additions and 4 deletions

View File

@ -92328,19 +92328,19 @@ windows crate.")
'(delete-file "lib/libwindows.a")))) '(delete-file "lib/libwindows.a"))))
(arguments (list #:skip-build? #t)))) (arguments (list #:skip-build? #t))))
(define-public rust-windows-x86-64-msvc-0.48 (define-public rust-windows-x86-64-msvc-0.52
(package (package
(name "rust-windows-x86-64-msvc") (name "rust-windows-x86-64-msvc")
(version "0.48.0") (version "0.52.0")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version)) (uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s")) "012wfq37f18c09ij5m6rniw7xxn5fcvrxbqd0wd8vgnl3hfn9yfz"))
(snippet (snippet
#~(delete-file "lib/windows.0.48.0.lib")))) '(delete-file "lib/windows.0.52.0.lib"))))
(build-system cargo-build-system) (build-system cargo-build-system)
(arguments (list #:skip-build? #t)) (arguments (list #:skip-build? #t))
(home-page "https://github.com/microsoft/windows-rs") (home-page "https://github.com/microsoft/windows-rs")
@ -92349,6 +92349,21 @@ windows crate.")
"This package provides code gen support for the windows crate.") "This package provides code gen support for the windows crate.")
(license (list license:expat license:asl2.0)))) (license (list license:expat license:asl2.0))))
(define-public rust-windows-x86-64-msvc-0.48
(package
(inherit rust-windows-x86-64-msvc-0.52)
(name "rust-windows-x86-64-msvc")
(version "0.48.0")
(source (origin
(method url-fetch)
(uri (crate-uri "windows_x86_64_msvc" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "12ipr1knzj2rwjygyllfi5mkd0ihnbi3r61gag5n2jgyk5bmyl8s"))
(snippet
#~(delete-file "lib/windows.0.48.0.lib"))))
(arguments (list #:skip-build? #t))))
(define-public rust-windows-x86-64-msvc-0.42 (define-public rust-windows-x86-64-msvc-0.42
(package (package
(inherit rust-windows-x86-64-msvc-0.48) (inherit rust-windows-x86-64-msvc-0.48)