gnu: emacs-memoize: Don't use unstable tarball.

* gnu/packages/emacs-xyz.scm (emacs-memoize)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:24:21 +02:00
parent 86f18e4e6d
commit 54b29af03c
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -6271,14 +6271,13 @@ (define-public emacs-memoize
(version "1.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://github.com/skeeto/emacs-memoize/archive/"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/skeeto/emacs-memoize.git")
(commit version)))
(file-name (git-file-name name version))
(sha256
(base32
"05ijgwi4ymxx31vpjm2pn356j85cykknajn14lrzz8pn5sh0vrg4"))))
(base32 "04qgnlg4x6va7x364dhj1wbjmz8p5iq2vk36mn9198k2vxmijwzk"))))
(build-system emacs-build-system)
(arguments
`(#:tests? #t