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
51 lines
855 B
Nix
51 lines
855 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
wayland,
|
|
meson,
|
|
pkg-config,
|
|
ninja,
|
|
wayland-scanner,
|
|
expat,
|
|
libxml2,
|
|
}:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "wayland-scanner";
|
|
inherit (wayland) version src;
|
|
|
|
outputs = [
|
|
"out"
|
|
"bin"
|
|
"dev"
|
|
];
|
|
separateDebugInfo = true;
|
|
|
|
mesonFlags = [
|
|
(lib.mesonBool "documentation" false)
|
|
(lib.mesonBool "libraries" false)
|
|
(lib.mesonBool "tests" false)
|
|
];
|
|
|
|
depsBuildBuild = [ pkg-config ];
|
|
|
|
nativeBuildInputs = [
|
|
meson
|
|
pkg-config
|
|
ninja
|
|
]
|
|
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) wayland-scanner;
|
|
|
|
buildInputs = [
|
|
expat
|
|
libxml2
|
|
];
|
|
|
|
meta = with lib; {
|
|
inherit (wayland.meta) homepage license maintainers;
|
|
mainProgram = "wayland-scanner";
|
|
description = "C code generator for Wayland protocol XML files";
|
|
platforms = platforms.unix;
|
|
};
|
|
}
|