summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-11 09:59:28 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-11 10:03:06 +0100
commit487e3f5a807581c5b1558590e3f54cd06b7214d7 (patch)
treed14a0449ae119d94e46d01305ee24cdacd0a1593
parent863742856c663aace968f2c84876b4528074dd2c (diff)
downloadguix-487e3f5a807581c5b1558590e3f54cd06b7214d7.tar.gz
gnu: ibus-rime: Fetch sources from git.
* gnu/packages/ibus.scm (ibus-rime)[source]: Fetch from git.
-rw-r--r--gnu/packages/ibus.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 3abdd4fab0..a2687ac8c3 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -602,12 +602,13 @@ Method Engine.")
     (version "1.3.0")
     (source
      (origin
-       (method url-fetch)
-       (uri (string-append "https://github.com/rime/" name
-                           "/archive/" version ".tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/rime/ibus-rime.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0mfbz0vwky7n4wvxrwabnn1i9n9adnql0dd1rx57w1anaslr5amj"))))
+        (base32 "1nqi7ymv34a9kx24say3xj98lkrs9nkpv1n2ijb91wdz3cr012ly"))))
     (build-system gnu-build-system)
     (arguments
      `(#:tests? #f                      ; no tests