summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-19 17:12:54 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-20 10:02:43 +0200
commit7afb97fdb5d92d30eebc9e9d6f18b83e98b5c813 (patch)
tree253da3e59d951d1ee5b79d189e0976364adee661 /gnu
parentcaa1f6a8ae6d60e2a79cd151e86fb1270893e670 (diff)
downloadguix-7afb97fdb5d92d30eebc9e9d6f18b83e98b5c813.tar.gz
gnu: cowsay: Don't use unstable tarball.
* gnu/packages/games.scm (cowsay)[source]: Download using git-fetch.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/games.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 28314f519c..893fb7eae4 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -463,13 +463,14 @@ want what you have.")
     (name "cowsay")
     (version "3.04")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/tnalpgge/"
-                                  "rank-amateur-cowsay/archive/"
-                                  "cowsay-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/tnalpgge/rank-amateur-cowsay.git")
+                     (commit (string-append name "-" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "12w7apbf6a9qffk92r32b16w22na2fjcqbl32rn0n7zw5hrp3f6q"))))
+                "06455kq37hvq1xb7adyiwrx0djs50arsxvjgixyxks16lm1rlc7n"))))
     (build-system gnu-build-system)
     (arguments
      `(#:phases