~ruther/guix-local

2c1e7f1cc4cb2e28eec096c1ef0e251e93c62ce3 — Nicolas Graves 8 months ago 5801225
import: elpa: Use guix-hash-url.

* guix/import/elpa.scm (elpa-package->sexp): Use guix-hash-url.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
1 files changed, 1 insertions(+), 4 deletions(-)

M guix/import/elpa.scm
M guix/import/elpa.scm => guix/import/elpa.scm +1 -4
@@ 44,10 44,8 @@
  #:use-module (guix import utils)
  #:use-module (guix http-client)
  #:use-module (guix git)
  #:use-module (guix hash)
  #:use-module (guix store)
  #:use-module ((guix utils) #:select (downstream-package-name))
  #:use-module (guix base32)
  #:use-module (guix upstream)
  #:use-module (guix packages)
  #:use-module (guix memoization)


@@ 370,8 368,7 @@ type '<elpa-package>'."
                        (sha256
                         (base32
                          ,(if tarball
                               (bytevector->nix-base32-string
                                (file-hash* tarball #:recursive? #false))
                               (guix-hash-url tarball)
                               "failed to download package")))))))
      (build-system emacs-build-system)
      ,@(maybe-inputs 'propagated-inputs dependencies)