mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
python3.pkgs.pywayland: depend on wayland-scanner
Otherwise, wayland-scanner would be picked up from the wayland in buildInputs, which isn't cross-friendly and will stop working when we split wayland-scanner into a separate package.
This commit is contained in:
parent
75ea55bdfe
commit
bc10b4260d
@ -1,4 +1,4 @@
|
||||
{ stdenv, lib, fetchFromGitHub, pkg-config, meson, cmake, ninja, gst_all_1, wrapQtAppsHook, qtbase, qtmultimedia, layer-shell-qt }:
|
||||
{ stdenv, lib, fetchFromGitHub, pkg-config, meson, cmake, ninja, gst_all_1, wrapQtAppsHook, qtbase, qtmultimedia, layer-shell-qt, wayland-scanner }:
|
||||
let
|
||||
gstreamerPath = with gst_all_1; lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [
|
||||
gstreamer
|
||||
@ -24,6 +24,7 @@ in stdenv.mkDerivation rec {
|
||||
cmake # only used for find layer-shell-qt
|
||||
ninja
|
||||
wrapQtAppsHook
|
||||
wayland-scanner
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -6,6 +6,7 @@
|
||||
cffi,
|
||||
pkg-config,
|
||||
wayland,
|
||||
wayland-scanner,
|
||||
pytestCheckHook,
|
||||
}:
|
||||
|
||||
@ -19,7 +20,8 @@ buildPythonPackage rec {
|
||||
hash = "sha256-WYreAng6rQWjKPZjtRtpTFq2i9XR4JJsDaPFISxWZTM=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config ];
|
||||
depsBuildBuild = [ pkg-config ];
|
||||
nativeBuildInputs = [ pkg-config wayland-scanner ];
|
||||
propagatedNativeBuildInputs = [ cffi ];
|
||||
buildInputs = [ wayland ];
|
||||
propagatedBuildInputs = [ cffi ];
|
||||
|
Loading…
Reference in New Issue
Block a user