wayland-scanner: use for nativeBuildInputs

This makes things more explicit (and less confusing) but only touches
the packages that I maintain.

+44 -39
+2 -2
pkgs/applications/networking/remote/wayvnc/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, scdoc 1 + { lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja, scdoc, wayland-scanner 2 2 , pixman, libxkbcommon, wayland, neatvnc, libdrm, libX11, aml, pam 3 3 }: 4 4 ··· 13 13 sha256 = "0q48fgh6gf3jicy4bk3kq18h9lhqfq9qz32ri6j9ffvbb8mcw64s"; 14 14 }; 15 15 16 - nativeBuildInputs = [ meson pkg-config ninja scdoc wayland ]; 16 + nativeBuildInputs = [ meson pkg-config ninja scdoc wayland-scanner ]; 17 17 buildInputs = [ pixman libxkbcommon wayland neatvnc libdrm libX11 aml pam ]; 18 18 19 19 meta = with lib; {
+5 -4
pkgs/applications/video/wf-recorder/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, meson, ninja, pkg-config, wayland, scdoc 2 - , wayland-protocols, ffmpeg, x264, libpulseaudio, ocl-icd, opencl-headers 1 + { lib, stdenv, fetchFromGitHub 2 + , meson, ninja, pkg-config, scdoc, wayland-scanner 3 + , wayland, wayland-protocols, ffmpeg, x264, libpulseaudio, ocl-icd, opencl-headers 3 4 }: 4 5 5 6 stdenv.mkDerivation rec { ··· 13 14 sha256 = "1cw6kpcbl33wh95pvy32xrsrm6kkk1awccr3phyh885xjs3b3iim"; 14 15 }; 15 16 16 - nativeBuildInputs = [ meson ninja pkg-config wayland scdoc ]; 17 + nativeBuildInputs = [ meson ninja pkg-config wayland-scanner scdoc ]; 17 18 buildInputs = [ 18 - wayland-protocols ffmpeg x264 libpulseaudio ocl-icd opencl-headers 19 + wayland wayland-protocols ffmpeg x264 libpulseaudio ocl-icd opencl-headers 19 20 ]; 20 21 21 22 meta = with lib; {
+3 -3
pkgs/applications/window-managers/cage/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub 2 - , meson, ninja, pkg-config, wayland, scdoc, makeWrapper 3 - , wlroots, wayland-protocols, pixman, libxkbcommon 2 + , meson, ninja, pkg-config, wayland-scanner, scdoc, makeWrapper 3 + , wlroots, wayland, wayland-protocols, pixman, libxkbcommon 4 4 , systemd, libGL, libX11, mesa 5 5 , xwayland ? null 6 6 , nixosTests ··· 17 17 sha256 = "0vm96gxinhy48m3x9p1sfldyd03w3gk6iflb7n9kn06j1vqyswr6"; 18 18 }; 19 19 20 - nativeBuildInputs = [ meson ninja pkg-config wayland scdoc makeWrapper ]; 20 + nativeBuildInputs = [ meson ninja pkg-config wayland-scanner scdoc makeWrapper ]; 21 21 22 22 buildInputs = [ 23 23 wlroots wayland wayland-protocols pixman libxkbcommon
+3 -3
pkgs/applications/window-managers/sway/default.nix
··· 1 1 { lib, stdenv, fetchFromGitHub, substituteAll, swaybg 2 - , meson, ninja, pkg-config, wayland, scdoc 3 - , libxkbcommon, pcre, json_c, dbus, libevdev 2 + , meson, ninja, pkg-config, wayland-scanner, scdoc 3 + , wayland, libxkbcommon, pcre, json_c, dbus, libevdev 4 4 , pango, cairo, libinput, libcap, pam, gdk-pixbuf, librsvg 5 5 , wlroots, wayland-protocols, libdrm 6 6 , nixosTests ··· 34 34 ''; 35 35 36 36 nativeBuildInputs = [ 37 - meson ninja pkg-config wayland scdoc 37 + meson ninja pkg-config wayland-scanner scdoc 38 38 ]; 39 39 40 40 buildInputs = [
+3 -3
pkgs/applications/window-managers/tinywl/default.nix
··· 1 - { lib, stdenv, wlroots, pkg-config 1 + { lib, stdenv, wlroots, pkg-config, wayland-scanner 2 2 , libxkbcommon, pixman, udev, wayland, wayland-protocols 3 3 }: 4 4 ··· 8 8 9 9 sourceRoot = "source/tinywl"; 10 10 11 - nativeBuildInputs = [ pkg-config ]; 11 + nativeBuildInputs = [ pkg-config wayland-scanner ]; 12 12 buildInputs = [ libxkbcommon pixman udev wayland wayland-protocols wlroots ]; 13 13 14 14 installPhase = '' ··· 20 20 21 21 meta = with lib; { 22 22 homepage = "https://github.com/swaywm/wlroots/tree/master/tinywl"; 23 - description = ''"minimum viable product" Wayland compositor based on wlroots.''; 23 + description = ''A "minimum viable product" Wayland compositor based on wlroots''; 24 24 maintainers = with maintainers; [ qyliss ]; 25 25 license = licenses.cc0; 26 26 inherit (wlroots.meta) platforms;
+3 -3
pkgs/applications/window-managers/weston/default.nix
··· 1 - { lib, stdenv, fetchurl, meson, ninja, pkg-config, wayland 2 - , libGL, mesa, libxkbcommon, cairo, libxcb 1 + { lib, stdenv, fetchurl, meson, ninja, pkg-config, wayland-scanner 2 + , wayland, libGL, mesa, libxkbcommon, cairo, libxcb 3 3 , libXcursor, xlibsWrapper, udev, libdrm, mtdev, libjpeg, pam, dbus, libinput, libevdev 4 4 , colord, lcms2, pipewire ? null 5 5 , pango ? null, libunwind ? null, freerdp ? null, vaapi ? null, libva ? null ··· 17 17 sha256 = "1zlql0xgiqc3pvgbpnnvj4xvpd91pwva8qf83xfb23if377ddxaw"; 18 18 }; 19 19 20 - nativeBuildInputs = [ meson ninja pkg-config wayland ]; 20 + nativeBuildInputs = [ meson ninja pkg-config wayland-scanner ]; 21 21 buildInputs = [ 22 22 wayland libGL mesa libxkbcommon cairo libxcb libXcursor xlibsWrapper udev libdrm 23 23 mtdev libjpeg pam dbus libinput libevdev pango libunwind freerdp vaapi libva
+3 -3
pkgs/development/libraries/libva/default.nix
··· 1 - { stdenv, lib, fetchFromGitHub, fetchpatch, meson, pkg-config, ninja, wayland 1 + { stdenv, lib, fetchFromGitHub, meson, pkg-config, ninja, wayland-scanner 2 2 , libdrm 3 3 , minimal ? false, libva-minimal 4 - , libX11, libXext, libXfixes, libffi, libGL 4 + , libX11, libXext, libXfixes, wayland, libffi, libGL 5 5 , mesa 6 6 }: 7 7 ··· 18 18 19 19 outputs = [ "dev" "out" ]; 20 20 21 - nativeBuildInputs = [ meson pkg-config ninja wayland ]; 21 + nativeBuildInputs = [ meson pkg-config ninja wayland-scanner ]; 22 22 23 23 buildInputs = [ libdrm ] 24 24 ++ lib.optionals (!minimal) [ libva-minimal libX11 libXext libXfixes wayland libffi libGL ];
+2 -1
pkgs/development/libraries/libxkbcommon/default.nix
··· 16 16 , withWaylandTools ? stdenv.isLinux 17 17 , wayland 18 18 , wayland-protocols 19 + , wayland-scanner 19 20 }: 20 21 21 22 stdenv.mkDerivation rec { ··· 31 32 32 33 depsBuildBuild = [ pkg-config ]; 33 34 nativeBuildInputs = [ meson ninja pkg-config bison doxygen ] 34 - ++ lib.optional withWaylandTools wayland; 35 + ++ lib.optional withWaylandTools wayland-scanner; 35 36 buildInputs = [ xkeyboard_config libxcb libxml2 ] 36 37 ++ lib.optionals withWaylandTools [ wayland wayland-protocols ]; 37 38 checkInputs = [ python3 ];
+2 -2
pkgs/development/libraries/mesa/default.nix
··· 1 1 { stdenv, lib, fetchurl, fetchpatch, buildPackages 2 2 , meson, pkg-config, ninja 3 - , intltool, bison, flex, file, python3Packages 3 + , intltool, bison, flex, file, python3Packages, wayland-scanner 4 4 , expat, libdrm, xorg, wayland, wayland-protocols, openssl 5 5 , llvmPackages, libffi, libomxil-bellagio, libva-minimal 6 6 , libelf, libvdpau ··· 143 143 intltool bison flex file 144 144 python3Packages.python python3Packages.Mako 145 145 ] ++ lib.optionals (elem "wayland" eglPlatforms) [ 146 - wayland # For wayland-scanner during the build 146 + wayland-scanner 147 147 ]; 148 148 149 149 propagatedBuildInputs = with xorg; [
+2 -2
pkgs/tools/wayland/wayland-utils/default.nix
··· 1 1 { lib, stdenv, fetchurl 2 - , meson, pkg-config, ninja 2 + , meson, pkg-config, ninja, wayland-scanner 3 3 , wayland, wayland-protocols 4 4 }: 5 5 ··· 12 12 sha256 = "1h38l850ww6hxjb1l8iwa33nkbz8q88bw6lh0aryjyp8b16crzk4"; 13 13 }; 14 14 15 - nativeBuildInputs = [ meson pkg-config ninja wayland ]; 15 + nativeBuildInputs = [ meson pkg-config ninja wayland-scanner ]; 16 16 buildInputs = [ wayland wayland-protocols ]; 17 17 18 18 meta = with lib; {
+3 -2
pkgs/tools/wayland/wev/default.nix
··· 3 3 , fetchFromSourcehut 4 4 , pkg-config 5 5 , scdoc 6 + , wayland-scanner 6 7 , wayland 7 8 , wayland-protocols 8 9 , libxkbcommon ··· 19 20 sha256 = "0l71v3fzgiiv6xkk365q1l08qvaymxd4kpaya6r2g8yzkr7i2hms"; 20 21 }; 21 22 22 - nativeBuildInputs = [ pkg-config scdoc wayland ]; 23 - buildInputs = [ wayland-protocols libxkbcommon ]; 23 + nativeBuildInputs = [ pkg-config scdoc wayland-scanner ]; 24 + buildInputs = [ wayland wayland-protocols libxkbcommon ]; 24 25 25 26 installFlags = [ "PREFIX=$(out)" ]; 26 27
+4 -3
pkgs/tools/wayland/wlsunset/default.nix
··· 1 - { lib, stdenv, fetchFromSourcehut, meson, pkg-config, ninja, wayland, scdoc 2 - , wayland-protocols 1 + { lib, stdenv, fetchFromSourcehut 2 + , meson, pkg-config, ninja, wayland-scanner, scdoc 3 + , wayland, wayland-protocols 3 4 }: 4 5 5 6 stdenv.mkDerivation rec { ··· 13 14 sha256 = "0hhsddh3rs066rbsjksr8kcwg8lvglbvs67dq0r5wx5c1xcwb51w"; 14 15 }; 15 16 16 - nativeBuildInputs = [ meson pkg-config ninja wayland scdoc ]; 17 + nativeBuildInputs = [ meson pkg-config ninja wayland-scanner scdoc ]; 17 18 buildInputs = [ wayland wayland-protocols ]; 18 19 19 20 meta = with lib; {
+5 -4
pkgs/tools/wayland/wob/default.nix
··· 5 5 , ninja 6 6 , pkg-config 7 7 , scdoc 8 + , wayland-scanner 9 + , wayland 10 + , wayland-protocols 8 11 , libseccomp 9 - , wayland # wayland-scanner 10 - , wayland-protocols 11 12 }: 12 13 13 14 stdenv.mkDerivation rec { ··· 21 22 sha256 = "13mx6nzab6msp57s9mv9ambz53a4zkafms9v97xv5zvd6xarnrya"; 22 23 }; 23 24 24 - nativeBuildInputs = [ meson ninja pkg-config scdoc wayland ]; 25 - buildInputs = [ wayland-protocols ] 25 + nativeBuildInputs = [ meson ninja pkg-config scdoc wayland-scanner ]; 26 + buildInputs = [ wayland wayland-protocols ] 26 27 ++ lib.optional stdenv.isLinux libseccomp; 27 28 28 29 mesonFlags = lib.optional stdenv.isLinux "-Dseccomp=enabled";
+4 -4
pkgs/tools/wayland/wshowkeys/default.nix
··· 1 1 { lib, stdenv, fetchFromSourcehut 2 - , meson, pkg-config, wayland, ninja 3 - , cairo, libinput, pango, wayland-protocols, libxkbcommon 2 + , meson, pkg-config, wayland-scanner, ninja 3 + , cairo, libinput, pango, wayland, wayland-protocols, libxkbcommon 4 4 }: 5 5 6 6 let ··· 17 17 sha256 = "10kafdja5cwbypspwhvaxjz3hvf51vqjzbgdasl977193cvxgmbs"; 18 18 }; 19 19 20 - nativeBuildInputs = [ meson pkg-config wayland ninja ]; 21 - buildInputs = [ cairo libinput pango wayland-protocols libxkbcommon ]; 20 + nativeBuildInputs = [ meson pkg-config wayland-scanner ninja ]; 21 + buildInputs = [ cairo libinput pango wayland wayland-protocols libxkbcommon ]; 22 22 23 23 meta = with lib; { 24 24 description = "Displays keys being pressed on a Wayland session";