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

* gnu/packages/emacs-xyz.scm (emacs-rspec)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-04 19:26:24 +02:00
parent ea0194fc75
commit 349eb1bc20
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -2554,13 +2554,13 @@ (define-public emacs-rspec
(version "1.11")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/pezra/rspec-mode/"
"archive/v" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/pezra/rspec-mode.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"1j0a7ms5516nlg60qfyn730pfxys6acm0rgyxh5xfkpi6jafgpvw"))))
(base32 "0hrn5n7aaymwimk511kjij44vqaxbmhly1gwmlmsrnbvvma7f2mp"))))
(build-system emacs-build-system)
(home-page "https://github.com/pezra/rspec-mode")
(synopsis "Provides a rspec mode for working with RSpec")