pipewire: set meta.pkgConfigModules

This commit is contained in:
sternenseemann
2025-01-17 19:20:31 +01:00
parent 2358667cb3
commit d3425b04a2

View File

@@ -1,6 +1,7 @@
{
stdenv,
lib,
testers,
fetchFromGitLab,
python3,
meson,
@@ -220,7 +221,12 @@ stdenv.mkDerivation (finalAttrs: {
moveToOutput "bin/pw-jack" "$jack"
'';
passthru.tests.installed-tests = nixosTests.installed-tests.pipewire;
passthru.tests = {
installed-tests = nixosTests.installed-tests.pipewire;
pkg-config = testers.hasPkgConfigModules {
package = finalAttrs.finalPackage;
};
};
meta = with lib; {
description = "Server and user space API to deal with multimedia pipelines";
@@ -232,5 +238,9 @@ stdenv.mkDerivation (finalAttrs: {
kranzes
k900
];
pkgConfigModules = [
"libpipewire-0.3"
"libspa-0.2"
];
};
})