guix-patches
[Top][All Lists]
Advanced

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

[bug#77802] [PATCH rust-team v2] gnu: Add pay-respects.


From: Gabriel Santos
Subject: [bug#77802] [PATCH rust-team v2] gnu: Add pay-respects.
Date: Wed, 16 Apr 2025 10:08:06 -0300
User-agent: Thunderbird for Android

Em 16 de abril de 2025 09:34:33 BRT, Hilton Chain <hako@ultrarare.space> 
escreveu:
>On Wed, 16 Apr 2025 19:37:49 +0800,
>Gabriel Santos wrote:
>>
>> * 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 <wongandj@icloud.com>
>>  ;;; Copyright © 2024 Danny Milosavljevic <dannym@friendly-machines.com>
>>  ;;; Copyright © 2024 David Elsing <david.elsing@posteo.net>
>> -;;; Copyright © 2025 Gabriel Santos <gabriel.santos.smtp@gmail.com>
>> +;;; Copyright © 2025 Gabriel Santos <gabrielsantosdesouza@disroot.org>
>>  ;;;
>>  ;;; 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+)))
>
>Minor issue: markup in synopsis, and I'd rephrase the description a bit.
>
>I'll modify the patch and commit it later, see the actual change then :)

Thanks!

-- 
Gabriel Santos





reply via email to

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