gnu: emacs-add-hooks: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-add-hooks)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:38:25 +02:00
parent 497e491551
commit fc13138245
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 9 additions and 9 deletions

View File

@ -10357,15 +10357,15 @@ files.")
(package (package
(name "emacs-add-hooks") (name "emacs-add-hooks")
(version "3.1.1") (version "3.1.1")
(source (origin (source
(method url-fetch) (origin
(uri (string-append (method git-fetch)
"https://github.com/nickmccurdy/add-hooks/archive/" (uri (git-reference
version ".tar.gz")) (url "https://github.com/nickmccurdy/add-hooks.git")
(file-name (string-append name "-" version ".tar.gz")) (commit version)))
(sha256 (file-name (git-file-name name version))
(base32 (sha256
"03a28gb3298g7pc2qji9hi44p4d99ljp5mpi9cmg42ldv8fl6549")))) (base32 "1jv9fpcsm572zg0j1mbpbfkqgdlqapy89xhhj19pswkhjns1y2wl"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/nickmccurdy/add-hooks/") (home-page "https://github.com/nickmccurdy/add-hooks/")
(synopsis "Emacs function for setting multiple hooks") (synopsis "Emacs function for setting multiple hooks")