rekado pushed a commit to branch master
in repository guix.

commit 863742856c663aace968f2c84876b4528074dd2c
Author: Ricardo Wurmus <rek...@elephly.net>
Date:   Sun Nov 11 09:58:55 2018 +0100

    gnu: librime: Fetch sources from git.
    
    * gnu/packages/ibus.scm (librime)[source]: Fetch from git.
---
 gnu/packages/ibus.scm | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/ibus.scm b/gnu/packages/ibus.scm
index 8ad1e09..3abdd4f 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)

Reply via email to