mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
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>
This commit is contained in:
parent
5801225b89
commit
2c1e7f1cc4
1 changed files with 1 additions and 4 deletions
|
@ -44,10 +44,8 @@
|
||||||
#:use-module (guix import utils)
|
#:use-module (guix import utils)
|
||||||
#:use-module (guix http-client)
|
#:use-module (guix http-client)
|
||||||
#:use-module (guix git)
|
#:use-module (guix git)
|
||||||
#:use-module (guix hash)
|
|
||||||
#:use-module (guix store)
|
#:use-module (guix store)
|
||||||
#:use-module ((guix utils) #:select (downstream-package-name))
|
#:use-module ((guix utils) #:select (downstream-package-name))
|
||||||
#:use-module (guix base32)
|
|
||||||
#:use-module (guix upstream)
|
#:use-module (guix upstream)
|
||||||
#:use-module (guix packages)
|
#:use-module (guix packages)
|
||||||
#:use-module (guix memoization)
|
#:use-module (guix memoization)
|
||||||
|
@ -370,8 +368,7 @@ type '<elpa-package>'."
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
,(if tarball
|
,(if tarball
|
||||||
(bytevector->nix-base32-string
|
(guix-hash-url tarball)
|
||||||
(file-hash* tarball #:recursive? #false))
|
|
||||||
"failed to download package")))))))
|
"failed to download package")))))))
|
||||||
(build-system emacs-build-system)
|
(build-system emacs-build-system)
|
||||||
,@(maybe-inputs 'propagated-inputs dependencies)
|
,@(maybe-inputs 'propagated-inputs dependencies)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue