* [bug#29853] [PATCH] gnu: Add emacs-php-mode.
@ 2017-12-26 2:38 Maxim Cournoyer
0 siblings, 0 replies; only message in thread
From: Maxim Cournoyer @ 2017-12-26 2:38 UTC (permalink / raw)
To: 29853
[-- Attachment #1.1: Type: text/plain, Size: 47 bytes --]
Hello Guix,
This adds emacs-php-mode.
Maxim
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: 0001-gnu-Add-emacs-php-mode.patch --]
[-- Type: text/x-patch, Size: 1510 bytes --]
From ec75991fe57d5fd9f5ae07fd1d41b63dc25d2a56 Mon Sep 17 00:00:00 2001
From: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Date: Thu, 21 Dec 2017 11:12:53 -0500
Subject: [PATCH] gnu: Add emacs-php-mode.
* gnu/packages/emacs.scm (emacs-php-mode): New public variable.
---
gnu/packages/emacs.scm | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 77da8f2f2..40cf35064 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -1492,6 +1492,25 @@ and stored in memory.")
(home-page "https://github.com/politza/pdf-tools")
(license license:gpl3+)))
+(define-public emacs-php-mode
+ (package
+ (name "emacs-php-mode")
+ (version "1.18.4")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ejmr/php-mode.git")
+ (commit (string-append "v" version))))
+ (file-name (string-append name "-" version "-checkout"))
+ (sha256
+ (base32
+ "03yp07dxmxmhm8p5qcxsfdidhvnrpls20nr234cz6yamjl5zszh6"))))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/ejmr/php-mode")
+ (synopsis "PHP major mode for Emacs")
+ (description "A major mode for editing PHP source code with Emacs.")
+ (license license:gpl3+)))
+
(define-public emacs-dash
(package
(name "emacs-dash")
--
2.14.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2017-12-26 2:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-26 2:38 [bug#29853] [PATCH] gnu: Add emacs-php-mode Maxim Cournoyer
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).