(address . guix-patches@gnu.org)(name . Maxime Devos)(address . maximedevos@telenet.be)
* gnu/packages/crates-io.scm
(rust-libloading-0.7)[source]: Add snippet.
(rust-libloading-0.6)[source]: Inherit from rust-liboading-0.7's source.
(rust-libloading-0.5)[source]: Likewise.
(rust-libloading-0.3)[source]: Likewise.
---
gnu/packages/crates-io.scm | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
Number of dependents is unchecked (so not sure if core-updates is appropriate),
I intend to wait for https://qa.guix.gnu.orgto inform me
(guix refresh -l cannot be used meaningfully on rust packages currently).
Toggle diff (50 lines)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db820a3d24..44b6f01c36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31737,7 +31737,11 @@ (define-public rust-libloading-0.7
(string-append name "-" version ".tar.gz"))
(sha256
(base32
- "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
+ "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Remove binaries.
+ '(for-each delete-file (find-files "." "\\.dll$")))))
(build-system cargo-build-system)
(arguments
`(#:cargo-inputs
@@ -31761,7 +31765,7 @@ (define-public rust-libloading-0.6
(version "0.6.7")
(source
(origin
- (method url-fetch)
+ (inherit (package-source rust-libloading-0.7))
(uri (crate-uri "libloading" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
@@ -31783,7 +31787,7 @@ (define-public rust-libloading-0.5
(version "0.5.2")
(source
(origin
- (method url-fetch)
+ (inherit (package-source rust-libloading-0.7))
(uri (crate-uri "libloading" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
@@ -31811,7 +31815,7 @@ (define-public rust-libloading-0.3
(version "0.3.4")
(source
(origin
- (method url-fetch)
+ (inherit (package-source rust-libloading-0.7))
(uri (crate-uri "libloading" version))
(file-name
(string-append name "-" version ".tar.gz"))
base-commit: d08411ffd0a36a6b67a238be69d32c9f74101389
prerequisite-patch-id: 7f0d22c4b2743e932cf97342abd5bac2e7bbdaa6
prerequisite-patch-id: 87e197146284fb770478e0c2d73027e68ee3db6d
--
2.37.2