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

* gnu/packages/emacs-xyz.scm (emacs-gitpatch)[source]: Use GIT-FETCH and
GIT-FILE-NAME.
This commit is contained in:
Tobias Geerinckx-Rice 2019-04-08 23:30:32 +02:00
parent d4e3d212bc
commit 3a3a68eb4d
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 6 additions and 6 deletions

View File

@ -7748,13 +7748,13 @@ internally.")
(version "0.5.0") (version "0.5.0")
(source (source
(origin (origin
(method url-fetch) (method git-fetch)
(uri (string-append "https://github.com/tumashu/gitpatch/archive/" (uri (git-reference
"v" version ".tar.gz")) (url "https://github.com/tumashu/gitpatch.git")
(file-name (string-append name "-" version ".tar.gz")) (commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "1jj12pjwza6cq8a3kr8nqnmm3vxs0wam8h983irry4xr4ifywsn4"))))
"1yj6pmic541lcnscjin300k380qp9xdfprs55xg1q57jrkq6f6k7"))))
(build-system emacs-build-system) (build-system emacs-build-system)
(home-page "https://github.com/tumashu/gitpatch") (home-page "https://github.com/tumashu/gitpatch")
(synopsis "Mail git patch from Emacs") (synopsis "Mail git patch from Emacs")