summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-11 09:58:55 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-11 10:03:06 +0100
commit863742856c663aace968f2c84876b4528074dd2c (patch)
tree54c4ba74fcb6190ffde3a11e514665f732584cc6 /gnu
parentcab70d4c2ae8c92337501b19dd938792447ad5b8 (diff)
downloadguix-863742856c663aace968f2c84876b4528074dd2c.tar.gz
gnu: librime: Fetch sources from git.
* gnu/packages/ibus.scm (librime)[source]: Fetch from git.
Diffstat (limited to 'gnu')
-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 8ad1e09856..3abdd4fab0 100644
--- a/gnu/packages/ibus.scm
+++ b/gnu/packages/ibus.scm
@@ -295,12 +295,13 @@ Japanese language input in most graphical applications.")
     (version "1.3.1")
     (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/librime.git")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "0qh0hy8bvj17bnzaxk0bmv4gsnbsd6jx8csr84936xmhkrysdday"))))
+        (base32 "1y0h3nnz97smx9z8h5fzk4c27mvrwv8kajxffqc43bhyvxvb2jd6"))))
     (build-system cmake-build-system)
     (inputs
      `(("boost" ,boost)