diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2019-01-23 09:38:33 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2019-01-23 10:51:20 +0200 |
commit | 8b9fab8f764890d049350c3615f51ee825667402 (patch) | |
tree | b9d6f4bf25563a9026ea49260af1586acb2859a9 | |
parent | 07725a0a66c4b98d815a25d7a78b53bf63492625 (diff) | |
download | gnu-guix-8b9fab8f764890d049350c3615f51ee825667402.tar gnu-guix-8b9fab8f764890d049350c3615f51ee825667402.tar.gz |
gnu: emacs-git-modes: Don't use unstable tarball.
* gnu/packages/emacs-xyz.scm (emacs-git-mode)[source]: Use 'git-fetch'.
-rw-r--r-- | gnu/packages/emacs-xyz.scm | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm index 2a811e5315..fd5f84c6d2 100644 --- a/gnu/packages/emacs-xyz.scm +++ b/gnu/packages/emacs-xyz.scm @@ -203,14 +203,14 @@ when typing parentheses directly or commenting out code line by line.") (name "emacs-git-modes") (version "1.2.8") (source (origin - (method url-fetch) - (uri (string-append - "https://github.com/magit/git-modes/archive/" - version ".tar.gz")) - (file-name (string-append name "-" version ".tar.gz")) + (method git-fetch) + (uri (git-reference + (url "https://github.com/magit/git-modes") + (commit version))) + (file-name (git-file-name name version)) (sha256 (base32 - "0h49f68yn0q4lg054adqii4qja1z2pzybm7nf4kvpq7fzjrzgv1q")))) + "08hy7rbfazs6grkpk54i82bz0i0c74zcjk96cip8970h6jn3mj72")))) (build-system emacs-build-system) (home-page "https://github.com/magit/git-modes") (synopsis "Emacs major modes for Git configuration files") |