9bb3fccb5b
continuation of #109595 pkgconfig was aliased in 2018, however, it remained in all-packages.nix due to its wide usage. This cleans up the remaining references to pkgs.pkgsconfig and moves the entry to aliases.nix. python3Packages.pkgconfig remained unchanged because it's the canonical name of the upstream package on pypi.
25 lines
695 B
Nix
25 lines
695 B
Nix
{ stdenv, fetchurl, ilbc, mediastreamer, pkg-config }:
|
|
|
|
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 = [ pkg-config ];
|
|
|
|
configureFlags = [
|
|
"ILBC_LIBS=ilbc" "ILBC_CFLAGS=-I${ilbc}/include"
|
|
"MEDIASTREAMER_LIBS=mediastreamer" "MEDIASTREAMER_CFLAGS=-I${mediastreamer}/include"
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Mediastreamer plugin for the iLBC audio codec";
|
|
platforms = platforms.linux;
|
|
license = licenses.gpl2;
|
|
};
|
|
}
|