gnu: emacs-constants: Factorize home-page in source URL.

* gnu/packages/emacs.scm (emacs-constants): Move 'home-page' above.  Use
it in 'uri'.
This commit is contained in:
Ludovic Courtès 2016-05-16 22:48:16 +02:00
parent 4f04243405
commit a9e41d2faf
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 2 deletions

View File

@ -1410,17 +1410,17 @@ identifiers in the MIT-Scheme documentation.")
(package
(name "emacs-constants")
(version "2.2")
(home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
(source
(origin
(file-name (string-append name "-" version ".el"))
(method uncompressed-file-fetch)
(uri "https://staff.fnwi.uva.nl/c.dominik/Tools/constants/constants.el")
(uri (string-append home-page "/constants.el")) ;FIXME: unversioned URI
(patches (search-patches "emacs-constants-lisp-like.patch"))
(sha256
(base32
"14q094aphsjhq8gklv7i5a7byl0ygz63cv3n6b5p8ji2jy0mnnw3"))))
(build-system emacs-build-system)
(home-page "https://staff.fnwi.uva.nl/c.dominik/Tools/constants")
(synopsis "Enter definition of constants into an Emacs buffer")
(description
"This package provides functions for inserting the definition of natural