From 863742856c663aace968f2c84876b4528074dd2c Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sun, 11 Nov 2018 09:58:55 +0100 Subject: [PATCH] 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 8ad1e09856..3abdd4fab0 100644 --- a/gnu/packages/ibus.scm +++ b/gnu/packages/ibus.scm @@ -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)