diff options
author | Brett Gilio <brettg@posteo.net> | 2019-12-09 23:12:08 -0600 |
---|---|---|
committer | Brett Gilio <brettg@posteo.net> | 2019-12-09 23:12:08 -0600 |
commit | c087ade28da06dfb4aa3f5d827cdcd70a7596c6b (patch) | |
tree | ee49d874b70570bad916f77ee30175a884b3a8ff | |
parent | 05899b814697fae3c0bcfa739982214dfb2183d0 (diff) | |
download | guix-c087ade28da06dfb4aa3f5d827cdcd70a7596c6b.tar.gz guix-c087ade28da06dfb4aa3f5d827cdcd70a7596c6b.zip |
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.
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 9 |
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")))) |