Subject: [bug#77714] [PATCH 6/6] gnu: Add emacs-casual.

From: Liliana Marie Prikler <[email-masked]>
Date: Thu, 10 Apr 2025 20:41:33 +0200

Am Donnerstag, dem 10.04.2025 um 14:05 -0400 schrieb [email-masked]:
> From: Peter Polidoro <[email-masked]>
> 
> * gnu/packages/emacs-xyz.scm (emacs-casual): New variable.
> ---
>  gnu/packages/emacs-xyz.scm | 28 ++++++++++++++++++++++++++++
>  1 file changed, 28 insertions(+)
> 
> diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
> index 0e6bd4ff35..f944476c7a 100644
> --- a/gnu/packages/emacs-xyz.scm
> +++ b/gnu/packages/emacs-xyz.scm
> @@ -35605,6 +35605,34 @@ (define-public emacs-cascading-dir-locals
>  all of your projects, then override or add variables on a per-
> project basis.")
>        (license license:gpl3+))))
>  
> +(define-public emacs-casual
> +  (package
> +    (name "emacs-casual")
> +    (version "2.4.1")
> +    (source
> +     (origin
> +       (method git-fetch)
> +       (uri (git-reference
> +             (url "https://github.com/kickingvegas/casual")
> +             (commit version)))
> +       (file-name (git-file-name name version))
> +       (sha256
> +        (base32
> "1jqk5jzj6ykijaa39rpyg85s1czwa4q2qdfv077vnv57wfknzvfy"))))
> +    (build-system emacs-build-system)
> +    (arguments
> +     (list
> +      #:phases
> +      #~(modify-phases %standard-phases
> +          (add-after 'unpack 'chdir
> +            (lambda _ (chdir "lisp"))))))
There is a #:lisp-directory argument.  Make sure that the test suite
actually passes (you might want to try your patch on top of current
emacs-team to do so, or use #:tests? #t locally).
> +    (propagated-inputs (list emacs-transient))
> +    (home-page "https://github.com/kickingvegas/casual")
> +    (synopsis "Transient user interfaces for various modes")
> +    (description
> +     "Casual is a collection of opinionated Transient-based keyboard
> driven user
> +interfaces for various built-in modes.")
> +    (license license:gpl3+)))
> +
>  (define-public emacs-calibredb
>    (package
>      (name "emacs-calibredb")
Don't outright delete variables.  Use deprecated-package first.  Squash
everything into one commit.

Cheers