mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
d4f0c2373d
Semi-automatic update. These checks were performed: - built on NixOS - found 2.1.2 with grep in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2 - found 2.1.2 in filename of file in /nix/store/382shdj4qs6hl916ycw7ai4c7xz1sd40-msilbc-2.1.2
23 lines
591 B
Nix
23 lines
591 B
Nix
{ stdenv, fetchurl, ilbc, mediastreamer, pkgconfig }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "msilbc-2.1.2";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://savannah/linphone/plugins/sources/${name}.tar.gz";
|
|
sha256 = "07j02y994ybh274fp7ydjvi76h34y2c34ndwjpjfcwwr03b48cfp";
|
|
};
|
|
|
|
propagatedBuildInputs = [ ilbc mediastreamer ];
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
configureFlags = [
|
|
"ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
|
|
"MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
|
|
];
|
|
|
|
meta = {
|
|
platforms = stdenv.lib.platforms.linux;
|
|
};
|
|
}
|