all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#57747] [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries.
@ 2022-09-12 10:57 Maxime Devos
  2022-09-12 10:59 ` Maxime Devos
  2024-01-20 20:42 ` bug#57747: " Maxim Cournoyer
  0 siblings, 2 replies; 3+ messages in thread
From: Maxime Devos @ 2022-09-12 10:57 UTC (permalink / raw)
  To: 57747; +Cc: Maxime Devos

* 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.org to inform me
(guix refresh -l cannot be used meaningfully on rust packages currently).

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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#57747] [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries.
  2022-09-12 10:57 [bug#57747] [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries Maxime Devos
@ 2022-09-12 10:59 ` Maxime Devos
  2024-01-20 20:42 ` bug#57747: " Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Maxime Devos @ 2022-09-12 10:59 UTC (permalink / raw)
  To: 57747


[-- Attachment #1.1.1: Type: text/plain, Size: 434 bytes --]



On 12-09-2022 12:57, Maxime Devos wrote:
> Number of dependents is unchecked (so not sure if core-updates is appropriate),
> I intend to wait forhttps://qa.guix.gnu.org  to inform me
> (guix refresh -l cannot be used meaningfully on rust packages currently).

Will be on https://qa.guix.gnu.org/issue/57747 (though apparently not 
yet processed by ‘Guix QA’, currently an ‘Issue not found’).

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#57747: [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries.
  2022-09-12 10:57 [bug#57747] [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries Maxime Devos
  2022-09-12 10:59 ` Maxime Devos
@ 2024-01-20 20:42 ` Maxim Cournoyer
  1 sibling, 0 replies; 3+ messages in thread
From: Maxim Cournoyer @ 2024-01-20 20:42 UTC (permalink / raw)
  To: Maxime Devos; +Cc: 57747-done

Hi,

Maxime Devos <maximedevos@telenet.be> writes:

> * 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.

A variant of this was committed to core-updates already.

Closing.

-- 
Thanks,
Maxim




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-20 20:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-12 10:57 [bug#57747] [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries Maxime Devos
2022-09-12 10:59 ` Maxime Devos
2024-01-20 20:42 ` bug#57747: " Maxim Cournoyer

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.