Subject: [PATCH rust-team v2] gnu: Add pay-respects.

From: Gabriel Santos <[email-masked]>
Date: Wed, 16 Apr 2025 08:37:49 -0300

* gnu/packages/rust-apps.scm (pay-respects): New variable.
* gnu/packages/rust-crates.scm (pay-respects-cargo-inputs): New variable.

Change-Id: Ic1d49812ba469873eab13da941e5ed0ba15ee52e
---
 gnu/packages/rust-apps.scm   |  30 +++-
 gnu/packages/rust-crates.scm | 297 +++++++++++++++++++++++++++++++++++
 2 files changed, 326 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/rust-apps.scm b/gnu/packages/rust-apps.scm
index 02de57bea4..fba3d8f67f 100644
--- a/gnu/packages/rust-apps.scm
+++ b/gnu/packages/rust-apps.scm
@@ -38,7 +38,7 @@
 ;;; Copyright © 2025 Andrew Wong <[email-masked]>
 ;;; Copyright © 2024 Danny Milosavljevic <[email-masked]>
 ;;; Copyright © 2024 David Elsing <[email-masked]>
-;;; Copyright © 2025 Gabriel Santos <[email-masked]>
+;;; Copyright © 2025 Gabriel Santos <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4878,3 +4878,31 @@ (define-public matugen
      "@command{matugen} generates a 'Material You' color palette based on a
 specified image or color, easing the process of theme creation.")
     (license license:gpl2)))
+
+(define-public pay-respects
+  (package
+    (name "pay-respects")
+    (version "0.7.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "pay-respects" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0slwj5s53s0vpfvj2hsimaicgyv75av318z6hi1knpqf6adynk1w"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:install-source? #f))
+    (inputs (cargo-inputs 'pay-respects))
+    (home-page "https://codeberg.org/iff/pay-respects")
+    (synopsis "Correct mistyped console command by inputting f")
+    (description
+     "@command{pay-respects} is a program that either corrects mistyped commands,
+or suggests a correction after the user inputs @command{f}.  This is similar to
+the @code{thefuck} package.
+
+Additional support for instaling packages adding missing binaries is available.
+For this, a user just has to index their store with the @command{guix locate}
+command.")
+    (license license:agpl3+)))
diff --git a/gnu/packages/rust-crates.scm b/gnu/packages/rust-crates.scm
index 9c40134008..4181291253 100644
--- a/gnu/packages/rust-crates.scm
+++ b/gnu/packages/rust-crates.scm
@@ -353,6 +353,18 @@ (define rust-ashpd-0.6.8
   (crate-source "ashpd" "0.6.8"
                 "109d7w6v0rnpy9lv4kmhwgh0sff0440s2vybj1k0ik4ib3d2xhja"))
 
+(define rust-askama-0.13.0
+  (crate-source "askama" "0.13.0"
+                "0hr5272633jcx10kk76pznxl4c93d4klaba44vr0xq03namlckls"))
+
+(define rust-askama-derive-0.13.0
+  (crate-source "askama_derive" "0.13.0"
+                "19i8iwahw0jsdwdx88g4bawlljf7y18v7xrmh5r2rlqzh838jfal"))
+
+(define rust-askama-parser-0.13.0
+  (crate-source "askama_parser" "0.13.0"
+                "0kqd9pg96dd6w9pm4q7zdhmchhkdrwsljygz56qpp1acabk5qcfg"))
+
 (define rust-asn1-0.20.0
   (crate-source "asn1" "0.20.0"
                 "0ckg83ingvagwjvmxadjjmkgna5kvlvrfx9arlfvzqhxxas892rd"))
@@ -632,6 +644,10 @@ (define rust-base32-0.4.0
   (crate-source "base32" "0.4.0"
                 "1ykwx8jhksqxghfgyw2pzikzjf4n9wqm1x2ww5wqyn68ssf6dki3"))
 
+(define rust-base62-2.2.1
+  (crate-source "base62" "2.2.1"
+                "07xb6xj6f3h46kjhjj8sxnkvgjz3z4x0bd8zwazfwsqxrdxjmr8h"))
+
 (define rust-base64-0.13.1
   (crate-source "base64" "0.13.1"
                 "1s494mqmzjb766fy1kqlccgfg2sdcjb6hzbvzqv2jw65fdi5h6wy"))
@@ -656,6 +672,10 @@ (define rust-basic-cookies-0.1.5
   (crate-source "basic-cookies" "0.1.5"
                 "1xwnmmcn32m18nis7azfxylkqyhirkqcag94i23b1g8n5ka8zgb7"))
 
+(define rust-basic-toml-0.1.10
+  (crate-source "basic-toml" "0.1.10"
+                "12hp59jl28kk229q4sqx6v4fc9p66v8i2byi0vlc9922h9g6fqms"))
+
 (define rust-bcrypt-pbkdf-0.10.0
   (crate-source "bcrypt-pbkdf" "0.10.0"
                 "18pjhsy3m2v0silsp4mjzz8i92zrpqxk9b059zrnk1w8zvhw5ska"))
@@ -1453,6 +1473,10 @@ (define rust-colored-2.2.0
   (crate-source "colored" "2.2.0"
                 "0g6s7j2qayjd7i3sivmwiawfdg8c8ldy0g2kl4vwk1yk16hjaxqi"))
 
+(define rust-colored-3.0.0
+  (crate-source "colored" "3.0.0"
+                "0plizddhxc4vgkzdbzky5zggyaqfrmyim2d0n6sb7py9j3nf1q7x"))
+
 (define rust-colorsys-0.6.7
   (crate-source "colorsys" "0.6.7"
                 "1g8vwcv89n2dzi9bmbzqlj9cl9a89jz49668grbcncv4cjx1l9jl"))
@@ -3861,6 +3885,10 @@ (define rust-globset-0.4.16
   (crate-source "globset" "0.4.16"
                 "1xa9ivqs74imf1q288spxh49g6iw2mn3x9snibdgapazzj6h58al"))
 
+(define rust-globwalk-0.8.1
+  (crate-source "globwalk" "0.8.1"
+                "1k6xwkydr7igvwjn3xkwjywk4213lcs53f576ilqz1h84jaazqwk"))
+
 (define rust-globwalk-0.9.1
   (crate-source "globwalk" "0.9.1"
                 "0mz7bsa66p2rrgnz3l94ac4kbklh7mq8j30iizyxjy4qyvmn1xqb"))
@@ -6516,6 +6544,14 @@ (define rust-patricia-tree-0.8.0
   (crate-source "patricia_tree" "0.8.0"
                 "0s5fya6rvgg2gxxp5mbv0xdq8jqikps1sc6snk23zrgzkd9z9wii"))
 
+(define rust-pay-respects-parser-0.3.9
+  (crate-source "pay-respects-parser" "0.3.9"
+                "0aww6qm0agzcx3g69bblkkhxz2gnbmvyk335jla0bayvhx6pczqy"))
+
+(define rust-pay-respects-utils-0.1.8
+  (crate-source "pay-respects-utils" "0.1.8"
+                "191z4xjsdzn8k821071z4m8zl0jnd2r7j8ki2wpzdkdjha2g5mvn"))
+
 (define rust-pbkdf2-0.12.2
   (crate-source "pbkdf2" "0.12.2"
                 "1wms79jh4flpy1zi8xdp4h8ccxv4d85adc6zjagknvppc5vnmvgq"))
@@ -7646,6 +7682,18 @@ (define rust-rust-htslib-0.40.2
   (crate-source "rust-htslib" "0.40.2"
                 "1m08935ijvxaq6pjmzhkimc6isb3qm7h1sza1012vwk99vzdwwqb"))
 
+(define rust-rust-i18n-3.1.4
+  (crate-source "rust-i18n" "3.1.4"
+                "00z2ks73bs6c4fp3kcspcr5610a94mpg5b8r541r4548vry31dm2"))
+
+(define rust-rust-i18n-macro-3.1.4
+  (crate-source "rust-i18n-macro" "3.1.4"
+                "04lr3mq1b4xvqzyldfvyx06h7aa7h7mdmnayxjxxvqlzcqjcf38w"))
+
+(define rust-rust-i18n-support-3.1.4
+  (crate-source "rust-i18n-support" "3.1.4"
+                "12qhvirzg7qhpg3xshimmcglwmz3z4rl2jrc3782a9980kg02xdl"))
+
 (define rust-rust-ini-0.20.0
   (crate-source "rust-ini" "0.20.0"
                 "12h608iy8kzxdrd0i5r20pzmgnw5fwg4rjwy5azq526bdch9h1iy"))
@@ -20487,6 +20535,255 @@ (define-public parinfer-rust-emacs-cargo-inputs
         rust-winapi-i686-pc-windows-gnu-0.4.0
         rust-winapi-x86-64-pc-windows-gnu-0.4.0))
 
+(define-public pay-respects-cargo-inputs
+  (list rust-addr2line-0.24.2
+        rust-adler2-2.0.0
+        rust-aho-corasick-1.1.3
+        rust-arc-swap-1.7.1
+        rust-askama-0.13.0
+        rust-askama-derive-0.13.0
+        rust-askama-parser-0.13.0
+        rust-autocfg-1.4.0
+        rust-backtrace-0.3.74
+        rust-base62-2.2.1
+        rust-base64-0.22.1
+        rust-basic-toml-0.1.10
+        rust-bitflags-1.3.2
+        rust-bitflags-2.9.0
+        rust-bstr-1.12.0
+        rust-bumpalo-3.17.0
+        rust-byteorder-1.5.0
+        rust-bytes-1.10.1
+        rust-cc-1.2.18
+        rust-cfg-if-1.0.0
+        rust-cfg-aliases-0.2.1
+        rust-colored-3.0.0
+        rust-crossbeam-deque-0.8.6
+        rust-crossbeam-epoch-0.9.18
+        rust-crossbeam-utils-0.8.21
+        rust-crossterm-0.25.0
+        rust-crossterm-winapi-0.9.1
+        rust-displaydoc-0.2.5
+        rust-dyn-clone-1.0.19
+        rust-either-1.15.0
+        rust-equivalent-1.0.2
+        rust-errno-0.3.11
+        rust-fnv-1.0.7
+        rust-form-urlencoded-1.2.1
+        rust-futures-channel-0.3.31
+        rust-futures-core-0.3.31
+        rust-futures-io-0.3.31
+        rust-futures-macro-0.3.31
+        rust-futures-sink-0.3.31
+        rust-futures-task-0.3.31
+        rust-futures-util-0.3.31
+        rust-fuzzy-matcher-0.3.7
+        rust-fxhash-0.2.1
+        rust-getrandom-0.2.15
+        rust-getrandom-0.3.2
+        rust-gimli-0.31.1
+        rust-glob-0.3.2
+        rust-globset-0.4.16
+        rust-globwalk-0.8.1
+        rust-hashbrown-0.15.2
+        rust-http-1.3.1
+        rust-http-body-1.0.1
+        rust-http-body-util-0.1.3
+        rust-httparse-1.10.1
+        rust-hyper-1.6.0
+        rust-hyper-rustls-0.27.5
+        rust-hyper-util-0.1.11
+        rust-icu-collections-1.5.0
+        rust-icu-locid-1.5.0
+        rust-icu-locid-transform-1.5.0
+        rust-icu-locid-transform-data-1.5.1
+        rust-icu-normalizer-1.5.0
+        rust-icu-normalizer-data-1.5.1
+        rust-icu-properties-1.5.1
+        rust-icu-properties-data-1.5.1
+        rust-icu-provider-1.5.0
+        rust-icu-provider-macros-1.5.0
+        rust-idna-1.0.3
+        rust-idna-adapter-1.2.0
+        rust-ignore-0.4.23
+        rust-indexmap-2.9.0
+        rust-inquire-0.7.5
+        rust-ipnet-2.11.0
+        rust-itertools-0.11.0
+        rust-itertools-0.14.0
+        rust-itoa-1.0.15
+        rust-js-sys-0.3.77
+        rust-lazy-static-1.5.0
+        rust-libc-0.2.171
+        rust-linux-raw-sys-0.9.4
+        rust-litemap-0.7.5
+        rust-lock-api-0.4.12
+        rust-log-0.4.27
+        rust-memchr-2.7.4
+        rust-mime-0.3.17
+        rust-miniz-oxide-0.8.8
+        rust-mio-0.8.11
+        rust-mio-1.0.3
+        rust-newline-converter-0.3.0
+        rust-normpath-1.3.0
+        rust-object-0.36.7
+        rust-once-cell-1.21.3
+        rust-parking-lot-0.12.3
+        rust-parking-lot-core-0.9.10
+        rust-pay-respects-parser-0.3.9
+        rust-pay-respects-utils-0.1.8
+        rust-percent-encoding-2.3.1
+        rust-pin-project-lite-0.2.16
+        rust-pin-utils-0.1.0
+        rust-ppv-lite86-0.2.21
+        rust-proc-macro2-1.0.94
+        rust-quinn-0.11.7
+        rust-quinn-proto-0.11.10
+        rust-quinn-udp-0.5.11
+        rust-quote-1.0.40
+        rust-r-efi-5.2.0
+        rust-rand-0.9.0
+        rust-rand-chacha-0.9.0
+        rust-rand-core-0.9.3
+        rust-redox-syscall-0.5.11
+        rust-regex-1.11.1
+        rust-regex-automata-0.4.9
+        rust-regex-lite-0.1.6
+        rust-regex-syntax-0.8.5
+        rust-reqwest-0.12.15
+        rust-ring-0.17.14
+        rust-rust-i18n-3.1.4
+        rust-rust-i18n-macro-3.1.4
+        rust-rust-i18n-support-3.1.4
+        rust-rustc-demangle-0.1.24
+        rust-rustc-hash-2.1.1
+        rust-rustix-1.0.5
+        rust-rustls-0.23.26
+        rust-rustls-pemfile-2.2.0
+        rust-rustls-pki-types-1.11.0
+        rust-rustls-webpki-0.103.1
+        rust-rustversion-1.0.20
+        rust-ryu-1.0.20
+        rust-same-file-1.0.6
+        rust-scopeguard-1.2.0
+        rust-serde-1.0.219
+        rust-serde-derive-1.0.219
+        rust-serde-json-1.0.140
+        rust-serde-spanned-0.6.8
+        rust-serde-urlencoded-0.7.1
+        rust-serde-yaml-0.9.34+deprecated
+        rust-shlex-1.3.0
+        rust-signal-hook-0.3.17
+        rust-signal-hook-mio-0.2.4
+        rust-signal-hook-registry-1.4.2
+        rust-siphasher-1.0.1
+        rust-slab-0.4.9
+        rust-smallvec-1.15.0
+        rust-smawk-0.3.2
+        rust-socket2-0.5.9
+        rust-stable-deref-trait-1.2.0
+        rust-subtle-2.6.1
+        rust-syn-2.0.100
+        rust-sync-wrapper-1.0.2
+        rust-synstructure-0.13.1
+        rust-sys-locale-0.3.2
+        rust-terminal-size-0.4.2
+        rust-textwrap-0.16.2
+        rust-thiserror-2.0.12
+        rust-thiserror-impl-2.0.12
+        rust-thread-local-1.1.8
+        rust-tinystr-0.7.6
+        rust-tinyvec-1.9.0
+        rust-tinyvec-macros-0.1.1
+        rust-tokio-1.44.2
+        rust-tokio-macros-2.5.0
+        rust-tokio-rustls-0.26.2
+        rust-tokio-util-0.7.14
+        rust-toml-0.8.20
+        rust-toml-datetime-0.6.8
+        rust-toml-edit-0.22.24
+        rust-tower-0.5.2
+        rust-tower-layer-0.3.3
+        rust-tower-service-0.3.3
+        rust-tracing-0.1.41
+        rust-tracing-core-0.1.33
+        rust-triomphe-0.1.14
+        rust-try-lock-0.2.5
+        rust-unicode-ident-1.0.18
+        rust-unicode-linebreak-0.1.5
+        rust-unicode-segmentation-1.12.0
+        rust-unicode-width-0.1.14
+        rust-unicode-width-0.2.0
+        rust-unsafe-libyaml-0.2.11
+        rust-untrusted-0.9.0
+        rust-url-2.5.4
+        rust-utf16-iter-1.0.5
+        rust-utf8-iter-1.0.4
+        rust-walkdir-2.5.0
+        rust-want-0.3.1
+        rust-wasi-0.11.0+wasi-snapshot-preview1
+        rust-wasi-0.14.2+wasi-0.2.4
+        rust-wasm-bindgen-0.2.100
+        rust-wasm-bindgen-backend-0.2.100
+        rust-wasm-bindgen-futures-0.4.50
+        rust-wasm-bindgen-macro-0.2.100
+        rust-wasm-bindgen-macro-support-0.2.100
+        rust-wasm-bindgen-shared-0.2.100
+        rust-wasm-streams-0.4.2
+        rust-web-sys-0.3.77
+        rust-web-time-1.1.0
+        rust-webpki-roots-0.26.8
+        rust-winapi-0.3.9
+        rust-winapi-i686-pc-windows-gnu-0.4.0
+        rust-winapi-util-0.1.9
+        rust-winapi-x86-64-pc-windows-gnu-0.4.0
+        rust-windows-link-0.1.1
+        rust-windows-registry-0.4.0
+        rust-windows-result-0.3.2
+        rust-windows-strings-0.3.1
+        rust-windows-sys-0.48.0
+        rust-windows-sys-0.52.0
+        rust-windows-sys-0.59.0
+        rust-windows-targets-0.48.5
+        rust-windows-targets-0.52.6
+        rust-windows-targets-0.53.0
+        rust-windows-aarch64-gnullvm-0.48.5
+        rust-windows-aarch64-gnullvm-0.52.6
+        rust-windows-aarch64-gnullvm-0.53.0
+        rust-windows-aarch64-msvc-0.48.5
+        rust-windows-aarch64-msvc-0.52.6
+        rust-windows-aarch64-msvc-0.53.0
+        rust-windows-i686-gnu-0.48.5
+        rust-windows-i686-gnu-0.52.6
+        rust-windows-i686-gnu-0.53.0
+        rust-windows-i686-gnullvm-0.52.6
+        rust-windows-i686-gnullvm-0.53.0
+        rust-windows-i686-msvc-0.48.5
+        rust-windows-i686-msvc-0.52.6
+        rust-windows-i686-msvc-0.53.0
+        rust-windows-x86-64-gnu-0.48.5
+        rust-windows-x86-64-gnu-0.52.6
+        rust-windows-x86-64-gnu-0.53.0
+        rust-windows-x86-64-gnullvm-0.48.5
+        rust-windows-x86-64-gnullvm-0.52.6
+        rust-windows-x86-64-gnullvm-0.53.0
+        rust-windows-x86-64-msvc-0.48.5
+        rust-windows-x86-64-msvc-0.52.6
+        rust-windows-x86-64-msvc-0.53.0
+        rust-winnow-0.7.6
+        rust-wit-bindgen-rt-0.39.0
+        rust-write16-1.0.0
+        rust-writeable-0.5.5
+        rust-yoke-0.7.5
+        rust-yoke-derive-0.7.5
+        rust-zerocopy-0.8.24
+        rust-zerocopy-derive-0.8.24
+        rust-zerofrom-0.1.6
+        rust-zerofrom-derive-0.1.6
+        rust-zeroize-1.8.1
+        rust-zerovec-0.10.4
+        rust-zerovec-derive-0.10.3))
+
 (define-public pijul-cargo-inputs
   (list rust-addr2line-0.24.2
         rust-adler2-2.0.0

base-commit: 1959cffa14afbb8594cd8ab2db3b2d7ca9a0c8f6
-- 
2.49.0