me
/
guix
Archived
1
0
Fork 0

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

* gnu/packages/crates-io.scm (rust-winapi-i686-pc-windows-gnu)[source]:
Add snippet to delete bundled libraries.
master
Efraim Flashner 2021-09-12 22:24:08 +03:00
parent 9d9759f3ae
commit b359ebec23
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 6 additions and 2 deletions

View File

@ -56291,10 +56291,14 @@ command-line, uniformly on all platforms")
(origin (origin
(method url-fetch) (method url-fetch)
(uri (crate-uri "winapi-i686-pc-windows-gnu" version)) (uri (crate-uri "winapi-i686-pc-windows-gnu" version))
(file-name (string-append name "-" version ".crate")) (file-name (string-append name "-" version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc")))) "1dmpa6mvcvzz16zg6d5vrfy4bxgg541wxrcip7cnshi06v38ffxc"))
(modules '((guix build utils)))
(snippet
'(begin
(for-each delete-file (find-files "." "\\.a$"))))))
(build-system cargo-build-system) (build-system cargo-build-system)
(home-page "https://github.com/retep998/winapi-rs") (home-page "https://github.com/retep998/winapi-rs")
(synopsis "Import libraries for the i686-pc-windows-gnu target") (synopsis "Import libraries for the i686-pc-windows-gnu target")