gnu: c-toxcore: Fetch sources from git.

* gnu/packages/messaging.scm (c-toxcore)[source]: Fetch from git.
This commit is contained in:
Ricardo Wurmus 2018-11-13 10:51:21 +01:00
parent 7fed5481fe
commit 6018683683
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 5 deletions

View File

@ -860,13 +860,14 @@ protocols.")
(version "0.2.8")
(source
(origin
(method url-fetch)
(uri (string-append "https://github.com/TokTok/c-toxcore/archive/v"
version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/TokTok/c-toxcore.git")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0qlkimlvbd24nlj7w9b5rpz1r807magqxmfylc1mlxsqhmfi5zj7"))))
"0xgnraysz25fbws5zwjk92mwnl8k1yih701qam8kgm3rxh50kyhm"))))
(arguments
`(#:tests? #f)) ; FIXME: Testsuite seems to stay stuck on test 3. Disable
; for now.