From 1c956faaf5a20f49955ffe2270330af74e55dbdb Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 13 Nov 2019 22:25:47 +0200 Subject: [PATCH] gnu: libsrtp: Don't use unstable tarball. * gnu/packages/telephony.scm (libsrtp)[source]: Download using git-fetch. --- gnu/packages/telephony.scm | 11 ++++++----- 1 file 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)))