summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorBrett Gilio <brettg@posteo.net>2019-12-09 23:12:08 -0600
committerBrett Gilio <brettg@posteo.net>2019-12-09 23:12:08 -0600
commitc087ade28da06dfb4aa3f5d827cdcd70a7596c6b (patch)
treeee49d874b70570bad916f77ee30175a884b3a8ff /gnu/packages
parent05899b814697fae3c0bcfa739982214dfb2183d0 (diff)
downloadguix-c087ade28da06dfb4aa3f5d827cdcd70a7596c6b.tar.gz
gnu: emacs-php-mode: Use git-reference.
* gnu/packages/emacs-xyz.scm (emacs-php-mode)[source]: Use git-reference
  instead of url-fetching from MELPA stable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/emacs-xyz.scm9
1 files changed, 5 insertions, 4 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index be947e2c57..1871216269 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -9229,10 +9229,11 @@ configuration of Chinese fonts.")
     (name "emacs-php-mode")
     (version "20171225.342")
     (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://melpa.org/packages/php-mode-"
-                    version ".tar"))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/ejmr/php-mode.git")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
                 "1zz682f34v4wsm2dyj1gnrnvsrqdq1cy7j8p6cvc398w2fziyg3q"))))