From a9e41d2faf979e1b39e2d587b940a89e071804c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 16 May 2016 22:48:16 +0200 Subject: [PATCH] gnu: emacs-constants: Factorize home-page in source URL. * gnu/packages/emacs.scm (emacs-constants): Move 'home-page' above. Use it in 'uri'. --- gnu/packages/emacs.scm | 4 ++-- 1 file 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 @@ (define-public emacs-constants (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