summary refs log tree commit diff
path: root/gnu/packages/telephony.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2019-11-13 22:25:47 +0200
committerEfraim Flashner <efraim@flashner.co.il>2019-11-13 22:25:47 +0200
commit1c956faaf5a20f49955ffe2270330af74e55dbdb (patch)
tree5d31709fefb32091cf7f2a0f256746fe5792db6e /gnu/packages/telephony.scm
parent40f243017ed2f207995b85ed03834e6175820d5c (diff)
downloadguix-1c956faaf5a20f49955ffe2270330af74e55dbdb.tar.gz
gnu: libsrtp: Don't use unstable tarball.
* gnu/packages/telephony.scm (libsrtp)[source]: Download using
git-fetch.
Diffstat (limited to 'gnu/packages/telephony.scm')
-rw-r--r--gnu/packages/telephony.scm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/packages/telephony.scm b/gnu/packages/telephony.scm
index 81e710a536..abb68f62b2 100644
--- a/gnu/packages/telephony.scm
+++ b/gnu/packages/telephony.scm
@@ -243,13 +243,14 @@ internet.")
     (name "libsrtp")
     (version "2.2.0")
     (source (origin
-              (method url-fetch)
-              (uri (string-append "https://github.com/cisco/libsrtp/archive/v"
-                                  version ".tar.gz"))
-              (file-name (string-append name "-" version ".tar.gz"))
+              (method git-fetch)
+              (uri (git-reference
+                     (url "https://github.com/cisco/libsrtp")
+                     (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
               (sha256
                (base32
-                "02x5l5h2nq6f9gq1bmgz5v9jmnqaab51p8aldglng1z7pjbp9za4"))))
+                "1ac7xs1djb03j131f1gmqyfmrplblid9qqyxahs0shdy707r5ll6"))))
     (native-inputs
      `(("psmisc" ,psmisc)               ;some tests require 'killall'
        ("procps" ,procps)))