summary refs log tree commit diff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2016-05-16 22:48:16 +0200
committerLudovic Courtès <ludo@gnu.org>2016-05-17 09:41:40 +0200
commita9e41d2faf979e1b39e2d587b940a89e071804c2 (patch)
treee0cc6f224f3f00dfb5c168a2f1bc46b53b24370c
parent4f04243405706a52b73c1acca883abfc030ce4d4 (diff)
downloadguix-a9e41d2faf979e1b39e2d587b940a89e071804c2.tar.gz
gnu: emacs-constants: Factorize home-page in source URL.
* gnu/packages/emacs.scm (emacs-constants): Move 'home-page' above.  Use
it in 'uri'.
-rw-r--r--gnu/packages/emacs.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
index 860ef11d29..5fbbc033b7 100644
--- a/gnu/packages/emacs.scm
+++ b/gnu/packages/emacs.scm
@@ -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