summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-13 22:42:52 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-13 22:42:52 +0200
commitd0f3ccf6a0637a66527b1ac82591ed0217153a7d (patch)
tree8e36b0f6106905a12969acd7855c2f239179110d
parent30024a1ecb2fd260155bce378f2bd9caacb46f52 (diff)
downloadguix-d0f3ccf6a0637a66527b1ac82591ed0217153a7d.tar.gz
gnu: utfcpp: Don't use unstable tarball.
* gnu/packages/textutils.scm (utfcpp)[source]: Download using git-fetch.
-rw-r--r--gnu/packages/textutils.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/gnu/packages/textutils.scm b/gnu/packages/textutils.scm
index 1c365dc850..680a7f3236 100644
--- a/gnu/packages/textutils.scm
+++ b/gnu/packages/textutils.scm
@@ -577,14 +577,14 @@ spreadsheets and outputs it in comma-separated-value format, and
     (name "utfcpp")
     (version "2.3.5")
     (source (origin
-              (method url-fetch)
-              (uri
-               (string-append "https://github.com/nemtrif/utfcpp/archive/v"
-                              version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/nemtrif/utfcpp")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "0gcqcfw19kfim8xw29xdp91l310yfjyrqdj2zsx8xx02dkpy1zzk"))))
+                "1gr98d826z6wa58r1s5i7rz7q2x3r31v7zj0pjjlrc7gfxwklr4s"))))
     (build-system cmake-build-system)
     (arguments
      `(#:out-of-source? #f