gnu: ibus-rime: Fetch sources from git.

* gnu/packages/ibus.scm (ibus-rime)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-11 09:59:28 +01:00
parent 863742856c
commit 487e3f5a80
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 5 deletions

View File

@ -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