mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: rust-xremap: Update to 0.10.2.
* gnu/packages/rust-apps.scm (rust-xremap): Update to 0.10.2. [cargo-inputs]: Add rust-hyprland-0.3. [arguments]: Adjust the install path for the bash completions. Change-Id: I84abf6549bf67d5e6e9461ef2ab8b087f1313e77
This commit is contained in:
parent
56b39202da
commit
c22e114471
1 changed files with 5 additions and 4 deletions
|
@ -3704,7 +3704,7 @@ (define-public git-delta
|
|||
(define-public rust-xremap
|
||||
(package
|
||||
(name "rust-xremap")
|
||||
(version "0.10.1")
|
||||
(version "0.10.2")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
|
@ -3712,7 +3712,7 @@ (define-public rust-xremap
|
|||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0a89vdldswd5zawln17gfrfqxjn4pacqlkn4hf5kn8r5znr0ap01"))))
|
||||
"1chh8lcwx167f0bnd1w99rww54g9k9axf7qnxwcgzmg6m0adyx8d"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:features '()
|
||||
|
@ -3725,6 +3725,7 @@ (define-public rust-xremap
|
|||
("rust-env-logger" ,rust-env-logger-0.10)
|
||||
("rust-evdev" ,rust-evdev-0.12)
|
||||
("rust-fork" ,rust-fork-0.2)
|
||||
("rust-hyprland" ,rust-hyprland-0.3)
|
||||
("rust-indoc" ,rust-indoc-2)
|
||||
("rust-lazy-static" ,rust-lazy-static-1)
|
||||
("rust-log" ,rust-log-0.4)
|
||||
|
@ -3746,9 +3747,9 @@ (define-public rust-xremap
|
|||
(let* ((out (assoc-ref outputs "out"))
|
||||
(share (string-append out "/share"))
|
||||
(xremap (string-append out "/bin/xremap")))
|
||||
(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/xremap")
|
||||
(string-append out "/etc/bash_completion.d/xremap")
|
||||
(lambda _ (invoke xremap "--completions" "bash")))
|
||||
(mkdir-p (string-append share "/fish/vendor_completions.d"))
|
||||
(with-output-to-file
|
||||
|
|
Loading…
Reference in a new issue