gnu: rust-winapi-x86-64-pc-windows-gnu@0.4: Remove bundled libraries.

* gnu/packages/crates-io.scm (rust-winapi-x86-64-pc-windows-gnu)[source]:
Add snippet to delete bundled libraries.
This commit is contained in:
Efraim Flashner 2021-09-12 22:24:59 +03:00
parent b359ebec23
commit 979b41a894
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -56339,10 +56339,14 @@ (define-public rust-winapi-x86-64-pc-windows-gnu-0.4
(origin
(method url-fetch)
(uri (crate-uri "winapi-x86_64-pc-windows-gnu" version))
(file-name (string-append name "-" version ".crate"))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32
"0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))))
"0gqq64czqb64kskjryj8isp62m2sgvx25yyj3kpc2myh85w24bki"))
(modules '((guix build utils)))
(snippet
'(begin
(for-each delete-file (find-files "." "\\.a$"))))))
(build-system cargo-build-system)
(home-page "https://github.com/retep998/winapi-rs")
(synopsis "Import libraries for the x86_64-pc-windows-gnu target")