asterisk: update dependencies
This commit is contained in:
parent
5a751204bc
commit
1b2c6b9f40
@ -147,7 +147,7 @@ let
|
|||||||
postInstall = ''
|
postInstall = ''
|
||||||
# Install sample configuration files for this version of Asterisk
|
# Install sample configuration files for this version of Asterisk
|
||||||
make samples
|
make samples
|
||||||
${lib.optionalString (lib.versionAtLeast version "17.0.0") "make install-headers"}
|
make install-headers
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
@ -163,19 +163,20 @@ let
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
pjproject_2_14_1 =
|
pjproject_2_14_1 = fetchurl {
|
||||||
fetchurl {
|
url = "https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.14.1/pjproject-2.14.1.tar.bz2";
|
||||||
url = "https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.14.1/pjproject-2.14.1.tar.bz2";
|
hash = "sha256-MtsK8bOc0fT/H/pUydqK/ahMIVg8yiRDt3TSM1uhUFQ=";
|
||||||
hash = "sha256-MtsK8bOc0fT/H/pUydqK/ahMIVg8yiRDt3TSM1uhUFQ=";
|
};
|
||||||
}
|
|
||||||
// {
|
|
||||||
pjsip_patches = [ ];
|
|
||||||
};
|
|
||||||
|
|
||||||
mp3-202 = fetchsvn {
|
pjproject_2_15_1 = fetchurl {
|
||||||
|
url = "https://raw.githubusercontent.com/asterisk/third-party/master/pjproject/2.15.1/pjproject-2.15.1.tar.bz2";
|
||||||
|
hash = "sha256-WLuDzsTUMfSNAG5FXYIWaEUPjPa2yV8JDe9HBi+jpgw=";
|
||||||
|
};
|
||||||
|
|
||||||
|
mp3-204 = fetchsvn {
|
||||||
url = "http://svn.digium.com/svn/thirdparty/mp3/trunk";
|
url = "http://svn.digium.com/svn/thirdparty/mp3/trunk";
|
||||||
rev = "202";
|
rev = "204";
|
||||||
sha256 = "1s9idx2miwk178sa731ig9r4fzx4gy1q8xazfqyd7q4lfd70s1cy";
|
hash = "sha256-Viec0LwFPfR7ewy+2hc/LIUR1LiDZfYos3RUbc+tyNk=";
|
||||||
};
|
};
|
||||||
|
|
||||||
asterisk-opus = fetchFromGitHub {
|
asterisk-opus = fetchFromGitHub {
|
||||||
@ -183,7 +184,7 @@ let
|
|||||||
repo = "asterisk-opus";
|
repo = "asterisk-opus";
|
||||||
# No releases, points to master as of 2022-04-06
|
# No releases, points to master as of 2022-04-06
|
||||||
rev = "a959f072d3f364be983dd27e6e250b038aaef747";
|
rev = "a959f072d3f364be983dd27e6e250b038aaef747";
|
||||||
sha256 = "sha256-CASlTvTahOg9D5jccF/IN10LP/U8rRy9BFCSaHGQfCw=";
|
hash = "sha256-CASlTvTahOg9D5jccF/IN10LP/U8rRy9BFCSaHGQfCw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# auto-generated by update.py
|
# auto-generated by update.py
|
||||||
@ -191,14 +192,13 @@ let
|
|||||||
_:
|
_:
|
||||||
{ version, sha256 }:
|
{ version, sha256 }:
|
||||||
let
|
let
|
||||||
pjsip = pjproject_2_14_1;
|
pjsip = if lib.versionAtLeast version "20" then pjproject_2_15_1 else pjproject_2_14_1;
|
||||||
in
|
in
|
||||||
common {
|
common {
|
||||||
inherit version sha256;
|
inherit version sha256;
|
||||||
inherit (pjsip) pjsip_patches;
|
|
||||||
externals = {
|
externals = {
|
||||||
"externals_cache/${pjsip.name}" = pjsip;
|
"externals_cache/${pjsip.name}" = pjsip;
|
||||||
"addons/mp3" = mp3-202;
|
"addons/mp3" = mp3-204;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
) (lib.importJSON ./versions.json);
|
) (lib.importJSON ./versions.json);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user