gnu: emacs-php-mode: Update URL.

* gnu/packages/emacs-xyz.scm (emacs-php-mode)[source, home-page]: Update
URL and factorize it.

Co-authored-by: Piotr Kwiecinski <piokwiecinski@gmail.com>
This commit is contained in:
Ludovic Courtès 2023-09-11 23:35:28 +02:00
parent 251bf55f50
commit 1cca04d7cf
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -18304,11 +18304,12 @@ (define-public emacs-php-mode
(package
(name "emacs-php-mode")
(version "1.25.0")
(home-page "https://github.com/emacs-php/php-mode")
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/ejmr/php-mode")
(url home-page)
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
@ -18331,7 +18332,6 @@ (define-public emacs-php-mode
(lambda _
(chdir "lisp"))))))
(propagated-inputs (list emacs-projectile))
(home-page "https://github.com/ejmr/php-mode")
(synopsis "Major mode for editing PHP code")
(description
"PHP mode is a major mode for editing PHP source code. It's an extension