Subject: [bug#57024] [PATCH] gnu: Add emacs-pdb-capf.

From: jgart <[email-masked]>
Date: Sat, 6 Aug 2022 19:00:58 -0500

* gnu/packages/emacs-xyz.scm (emacs-pdb-capf): New variable.
---
 gnu/packages/emacs-xyz.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index 5e60d4fafd..b73383431f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -31947,6 +31947,32 @@ (define-public emacs-consult-lsp
 by leveraging @code{emacs-consult} APIs.")
     (license license:expat)))
 
+(define-public emacs-pdb-capf
+  (let ((commit "2f4099aa1330f87df4e9cd526de057ee9b71de6c")
+        (revision "0"))
+    (package
+      (name "emacs-pdb-capf")
+      (version (git-version "1.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri
+          (git-reference
+           (url "https://github.com/muffinmad/emacs-pdb-capf")
+           (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "0fdzhsz3784lf50mdabz9h2b6992cab2nnn4xv7rx2a8hsyyq1mq"))))
+      (build-system emacs-build-system)
+      (propagated-inputs
+        (list emacs-imgur-el))
+      (home-page "https://github.com/muffinmad/emacs-pdb-capf")
+      (synopsis "Completion-at-point function for pdb")
+      (description
+"@code{emacs-pdb-capf} provides a @code{completion-at-point} function
+for pdb allowing completion in a @code{*gud-pdb*} buffer.")
+      (license license:gpl3+))))
+
 (define-public emacs-bitbake-modes
   (package
    (name "emacs-bitbake-modes")
-- 
2.37.1