gnu: librime: Fetch sources from git.

* gnu/packages/ibus.scm (librime)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-11 09:58:55 +01:00
parent cab70d4c2a
commit 863742856c
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -295,12 +295,13 @@ (define-public librime
(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)