gnu: libiax2: Fetch sources from git.

* gnu/packages/telephony.scm (libiax2)[source]: Fetch from git.
master
Ricardo Wurmus 2018-11-11 13:06:31 +01:00
parent 5a103bb84e
commit cd1f661e82
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 8 deletions

View File

@ -295,16 +295,14 @@ protocol (RFC 3550).")
(version (string-append "0.0.0-1." (string-take commit 7)))
(source
(origin
(method url-fetch)
(uri
(string-append
"https://gitlab.savoirfairelinux.com/sflphone/libiax2/"
"repository/archive.tar.gz?ref="
commit))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://gitlab.savoirfairelinux.com/sflphone/libiax2.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"0cj5293bixp3k5x3hjwyd0iq7z8w5p7yavxvvkqk5817hjq386y2"))))
"0d269474kk1933c55hx4azw3sak5ycfrxkw6ida0sb2cm00kfich"))))
(build-system gnu-build-system)
(native-inputs
`(("autoconf" ,autoconf)