gnu: rust-windows-x86-64-gnu: Remove bundled library.

* gnu/packages/crates-io.scm (rust-windows-x86-64-gnu-0.42)[source]: Add
snippet to remove bundled library.
(rust-windows-x86-64-gnu-0.36, rust-windows-x86-64-gnu-0.32,
rust-windows-x86-64-gnu-0.28): Inherit from above.
This commit is contained in:
Efraim Flashner 2023-02-19 01:06:21 +02:00
parent 1c0092be20
commit efbfc19a8a
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -70456,7 +70456,10 @@ (define-public rust-windows-x86-64-gnu-0.42
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"1vdh8k5a4m6pfkc5gladqznyqxgapkjm0qb8iwqvqb1nnlhinyxz"))))
"1vdh8k5a4m6pfkc5gladqznyqxgapkjm0qb8iwqvqb1nnlhinyxz"))
(snippet
'(begin
(delete-file "lib/libwindows.a")))))
(build-system cargo-build-system)
(arguments
(list #:skip-build? #t))
@ -70472,6 +70475,7 @@ (define-public rust-windows-x86-64-gnu-0.36
(name "rust-windows-x86-64-gnu")
(version "0.36.1")
(source (origin
(inherit (package-source rust-windows-x86-64-gnu-0.42))
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
@ -70485,6 +70489,7 @@ (define-public rust-windows-x86-64-gnu-0.32
(name "rust-windows-x86-64-gnu")
(version "0.32.0")
(source (origin
(inherit (package-source rust-windows-x86-64-gnu-0.36))
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))
@ -70498,6 +70503,7 @@ (define-public rust-windows-x86-64-gnu-0.28
(name "rust-windows-x86-64-gnu")
(version "0.28.0")
(source (origin
(inherit (package-source rust-windows-x86-64-gnu-0.32))
(method url-fetch)
(uri (crate-uri "windows_x86_64_gnu" version))
(file-name (string-append name "-" version ".tar.gz"))