aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/telephony.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2018-11-11 13:06:31 +0100
committerRicardo Wurmus <rekado@elephly.net>2018-11-11 13:06:31 +0100
commitcd1f661e827dd6fd5b05f8219a61aa466069a5a5 (patch)
treeccc6ab6bc29fa50903955b097f61f2557091c339 /gnu/packages/telephony.scm
parent5a103bb84ecc1ddc221bdcdba4f3cdf79117a2f0 (diff)
downloadguix-cd1f661e827dd6fd5b05f8219a61aa466069a5a5.tar
guix-cd1f661e827dd6fd5b05f8219a61aa466069a5a5.tar.gz
gnu: libiax2: Fetch sources from git.
* gnu/packages/telephony.scm (libiax2)[source]: Fetch from git.
Diffstat (limited to 'gnu/packages/telephony.scm')
-rw-r--r--gnu/packages/telephony.scm14
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 15c07beed9..63709935c3 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -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)