summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimothy DeHerrera <tim.deh@pm.me>2021-10-26 09:31:26 -0600
committerGitHub <noreply@github.com>2021-10-26 09:31:26 -0600
commite5eb3a7a63aff8ca1cb691aa7dcbd5799bdbb848 (patch)
tree5d8fa98d24daf0161038ee45e4157699beb2d20c
parentnixos/bookstack: fix error message output (#142722) (diff)
parentfreeeswitch: enable strictDeps (diff)
downloadnixpkgs-e5eb3a7a63aff8ca1cb691aa7dcbd5799bdbb848.tar.gz
Merge pull request #142985 from NixOS/backport-122445-to-release-21.05
[Backport release-21.05] freeswitch: 1.10.5 > 1.10.6
-rw-r--r--pkgs/servers/sip/freeswitch/default.nix20
1 files changed, 7 insertions, 13 deletions
diff --git a/pkgs/servers/sip/freeswitch/default.nix b/pkgs/servers/sip/freeswitch/default.nix
index d7611baad14e..98a1223d2799 100644
--- a/pkgs/servers/sip/freeswitch/default.nix
+++ b/pkgs/servers/sip/freeswitch/default.nix
@@ -1,4 +1,4 @@
-{ fetchFromGitHub, fetchpatch, stdenv, lib, pkg-config, autoreconfHook
+{ fetchFromGitHub, stdenv, lib, pkg-config, autoreconfHook
, ncurses, gnutls, readline
, openssl, perl, sqlite, libjpeg, speex, pcre, libuuid
, ldns, libedit, yasm, which, libsndfile, libtiff
@@ -88,21 +88,14 @@ in
stdenv.mkDerivation rec {
pname = "freeswitch";
- version = "1.10.5";
+ version = "1.10.6";
src = fetchFromGitHub {
owner = "signalwire";
repo = pname;
rev = "v${version}";
- sha256 = "18dhyb19k28dcm1i8mhqvvgm2phsrmrwyjmfn79glk8pdlalvcha";
+ sha256 = "1i5n06pds3kvzhhzfwvhwxnvcb2p2fcr8k52157aplm2i7prl4q2";
};
- patches = [
- # https://github.com/signalwire/freeswitch/pull/812 fix mod_spandsp, mod_gsmopen build, drop when updating from 1.10.5
- (fetchpatch {
- url = "https://github.com/signalwire/freeswitch/commit/51fba83ed3ed2d9753d8e6b13e13001aca50b493.patch";
- sha256 = "0h2bmifsyyasxjka3pczbmqym1chvz91fmb589njrdbwpkjyvqh3";
- })
- ];
postPatch = ''
patchShebangs libs/libvpx/build/make/rtcd.pl
substituteInPlace libs/libvpx/build/make/configure.sh \
@@ -117,10 +110,11 @@ stdenv.mkDerivation rec {
done
'';
- nativeBuildInputs = [ pkg-config autoreconfHook ];
+ strictDeps = true;
+ nativeBuildInputs = [ pkg-config autoreconfHook perl which yasm ];
buildInputs = [
- openssl ncurses gnutls readline perl libjpeg
- sqlite pcre speex ldns libedit yasm which
+ openssl ncurses gnutls readline libjpeg
+ sqlite pcre speex ldns libedit
libsndfile libtiff
libuuid
]