guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

111/111: gnu: rust-bindgen-cli: Update to 0.70.1.


From: guix-commits
Subject: 111/111: gnu: rust-bindgen-cli: Update to 0.70.1.
Date: Thu, 21 Nov 2024 08:33:42 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 56d472ceb79302a20303823088c9c756a9a67501
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Nov 21 15:29:47 2024 +0200

    gnu: rust-bindgen-cli: Update to 0.70.1.
    
    * gnu/packages/rust-apps.scm (rust-bindgen-cli): Update to 0.70.1.
    [cargo-inputs]: Replace rust-bindgen-0.69 with 0.70.
    [arguments]: Adjust the install path for the bash completions.
    
    Change-Id: I67fa0f1795f98aeba1736f46df1a58a565f27184
---
 gnu/packages/rust-apps.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 7845744387..652793755b 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -2432,18 +2432,18 @@ rebase.")
 (define-public rust-bindgen-cli
   (package
     (name "rust-bindgen-cli")
-    (version "0.69.5")
+    (version "0.70.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "bindgen-cli" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1g984q5f5j6bglmbz4hbw40srhb5jywjhwc2v2livcxhvdq2hw8m"))))
+        (base32 "1anm1gci1ycbv6sz4a5dan7phqbypcnw48xribxmm1wdsm39wgrk"))))
     (build-system cargo-build-system)
     (arguments
      `(#:install-source? #f
-       #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.69)
+       #:cargo-inputs (("rust-bindgen" ,rust-bindgen-0.70)
                        ("rust-clap" ,rust-clap-4)
                        ("rust-clap-complete" ,rust-clap-complete-4)
                        ("rust-env-logger" ,rust-env-logger-0.10)
@@ -2465,9 +2465,9 @@ rebase.")
              (let* ((out (assoc-ref outputs "out"))
                     (share (string-append out "/share"))
                     (bindgen (string-append out "/bin/bindgen")))
-               (mkdir-p (string-append share "/bash-completion/completions"))
+               (mkdir-p (string-append out "/etc/bash_completion.d/"))
                (with-output-to-file
-                 (string-append share "/bash-completion/completions/bindgen")
+                 (string-append out "/etc/bash_completion.d/bindgen")
                  (lambda _ (invoke bindgen "--generate-shell-completions" 
"bash")))
                (mkdir-p (string-append share "/fish/vendor_completions.d"))
                (with-output-to-file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]