Subject: [bug#61757] [PATCH 6/8] gnu: Add emacs-ac-php.

From: Rostislav Svoboda <[email-masked]>
Date: Fri, 24 Feb 2023 15:18:17 +0100

---
 gnu/packages/emacs-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index b444ab0da0..c5e9b0c792 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -285,6 +285,36 @@ (define-public emacs-ac-ispell
      "ispell/aspell completion source for auto-complete")
     (license license:gpl3+)))
 
+(define-public emacs-ac-php
+  (package
+    (name "emacs-ac-php")
+    (version "2.4.2")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/xcwen/ac-php")
+             (commit "dc563f4b1efeac8ae75f217532f4c99b4ba417de")))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "188hisppjbpia3bmrpsxvkfi8xkirisarnrpvkk3ya4k8lv4z13p"))))
+    (build-system emacs-build-system)
+    (inputs (list
+             emacs-auto-complete
+             emacs-company
+             emacs-helm
+             emacs-dash
+             emacs-php-mode
+             emacs-s
+             emacs-f
+             emacs-popup
+             emacs-xcscope))
+    (home-page "https://github.com/xcwen/ac-php")
+    (synopsis "emacs auto-complete & company-mode for php")
+    (description
+     "emacs auto-complete & company-mode for php")
+    (license license:gpl3+)))
+
 (define-public emacs-ace-jump-helm-line
   (package
     (name "emacs-ace-jump-helm-line")
-- 
2.39.1