babl: enable strictDeps and structuredAttrs (#526301)

This commit is contained in:
Guillaume Girol
2026-05-31 12:30:42 +00:00
committed by GitHub
+8
View File
@@ -31,6 +31,10 @@ stdenv.mkDerivation (finalAttrs: {
./dev-prefix.patch
];
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
meson
ninja
@@ -44,6 +48,8 @@ stdenv.mkDerivation (finalAttrs: {
lcms2
];
strictDeps = true;
mesonFlags = [
"-Dprefix-dev=${placeholder "dev"}"
# On Linux, this would be disabled by default but we have -Dauto_features=enabled.
@@ -61,6 +67,8 @@ stdenv.mkDerivation (finalAttrs: {
moveToOutput "share/doc" "$devdoc"
'';
__structuredAttrs = true;
meta = {
description = "Image pixel format conversion library";
mainProgram = "babl";