Subject: [bug#27302] [PATCH 1/3] gnu: emacs-dired-hacks-utils: Change origin to melpa

From: Alex Kost <[email-masked]>
Date: Fri, 16 Jun 2017 15:38:51 +0300

Oleg Pykhalov (2017-06-10 05:02 +0300) wrote:

> ---
>  gnu/packages/emacs.scm | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm
> index 5f00a7ad5..d2b1056b6 100644
> --- a/gnu/packages/emacs.scm
> +++ b/gnu/packages/emacs.scm
> @@ -4882,11 +4882,12 @@ displays results pretty-printed in XML or JSON with @code{restclient-mode}")
>       (origin
>         (method url-fetch)
>         (uri (string-append
> -             "https://github.com/Fuco1/dired-hacks/archive/master"
> -             ".tar.gz"))
> +             "http://melpa.org/packages/dired-hacks-utils-"
> +             version
> +             ".el"))

Unfortunately, we can't use sources from MELPA.  The problem is: when a
repository get a new commit, the old tarball is *REPLACED* with the new
one on MELPA, so the package could never be built anymore, since the
source disappeared.  That's why we use tarballs directly from source.

>         (sha256
>          (base32
> -         "180qfjjps3mg26zxwczj174qvbwivgn2h7haz1i8js9h1srl183r"))))
> +         "1378prbbvvdfi83ln1pwxanawynif6jmb3i5xd16igkjy6ads5qp"))))
>      (build-system emacs-build-system)
>      (propagated-inputs `(("emacs-dash" ,emacs-dash)))
>      (home-page "https://github.com/Fuco1/dired-hacks")

-- 
Alex