mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +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
|
let
|
||||||
gstreamerPath = with gst_all_1; lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [
|
gstreamerPath = with gst_all_1; lib.makeSearchPathOutput "lib" "lib/gstreamer-1.0" [
|
||||||
gstreamer
|
gstreamer
|
||||||
@ -24,6 +24,7 @@ in stdenv.mkDerivation rec {
|
|||||||
cmake # only used for find layer-shell-qt
|
cmake # only used for find layer-shell-qt
|
||||||
ninja
|
ninja
|
||||||
wrapQtAppsHook
|
wrapQtAppsHook
|
||||||
|
wayland-scanner
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -6,6 +6,7 @@
|
|||||||
cffi,
|
cffi,
|
||||||
pkg-config,
|
pkg-config,
|
||||||
wayland,
|
wayland,
|
||||||
|
wayland-scanner,
|
||||||
pytestCheckHook,
|
pytestCheckHook,
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -19,7 +20,8 @@ buildPythonPackage rec {
|
|||||||
hash = "sha256-WYreAng6rQWjKPZjtRtpTFq2i9XR4JJsDaPFISxWZTM=";
|
hash = "sha256-WYreAng6rQWjKPZjtRtpTFq2i9XR4JJsDaPFISxWZTM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkg-config ];
|
depsBuildBuild = [ pkg-config ];
|
||||||
|
nativeBuildInputs = [ pkg-config wayland-scanner ];
|
||||||
propagatedNativeBuildInputs = [ cffi ];
|
propagatedNativeBuildInputs = [ cffi ];
|
||||||
buildInputs = [ wayland ];
|
buildInputs = [ wayland ];
|
||||||
propagatedBuildInputs = [ cffi ];
|
propagatedBuildInputs = [ cffi ];
|
||||||
|
Loading…
Reference in New Issue
Block a user