From 9bd3f027df52445e0aecaf7556da084b78cbc468 Mon Sep 17 00:00:00 2001 From: Kurome Date: Sun, 13 Apr 2025 10:38:53 +0900 Subject: [PATCH] gnu: Add emacs-affe. * gnu/packages/emacs-xyz.scm (emacs-affe): New variable. Change-Id: Iec76bcf2a489830dfd352c80e00f8870a29fe386 Signed-off-by: Andreas Enge --- gnu/packages/emacs-xyz.scm | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index aab3f81ff9e..4cb7dd4be04 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -2377,6 +2377,31 @@ leveraging built-in functionality.") "This package provides an Emacs client for the @url{https://meyvn.org, Meyvn} build tool.") (license license:gpl3+)))) +(define-public emacs-affe + (package + (name "emacs-affe") + (version "0.9") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/minad/affe") + (commit version))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "166v7d120hbk6vczj1iam85xivk6wwpvga8m0vxgcii19issh5b3")))) + (build-system emacs-build-system) + (arguments (list #:tests? #f)) ; no tests + (propagated-inputs (list emacs-consult)) + (home-page "https://github.com/minad/affe") + (synopsis "Asynchronous fuzzy finder for Emacs") + (description "This package provides Affe, an asynchronous fuzzy finder for +GNU Emacs written in pure Emacs Lisp. It spawns an external producer process, +such as @command{find} or @command{grep}, and filters the output asynchronously. +The UI remains responsive, and results are shown via the Consult interface. +Affe is experimental and best suited for small to medium projects.") + (license license:gpl3+))) + (define-public emacs-fzf (let ((commit "641aef33c88df3733f13d559bcb2acc548a4a0c3") (revision "1"))