Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
38 lines
791 B
Nix
38 lines
791 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchurl,
|
|
ilbc,
|
|
linphonePackages,
|
|
pkg-config,
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "msilbc";
|
|
version = "2.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/linphone/plugins/sources/${pname}-${version}.tar.gz";
|
|
sha256 = "07j02y994ybh274fp7ydjvi76h34y2c34ndwjpjfcwwr03b48cfp";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
ilbc
|
|
linphonePackages.mediastreamer2
|
|
];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
|
|
configureFlags = [
|
|
"ILBC_LIBS=ilbc"
|
|
"ILBC_CFLAGS=-I${ilbc}/include"
|
|
"MEDIASTREAMER_LIBS=mediastreamer"
|
|
"MEDIASTREAMER_CFLAGS=-I${linphonePackages.mediastreamer2}/include"
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "Mediastreamer plugin for the iLBC audio codec";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|