depot/third_party/nixpkgs/pkgs/development/libraries/qt-6/modules/qtwayland.nix
Default email 504525a148 Project import generated by Copybara.
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
2024-01-02 12:29:13 +01:00

23 lines
596 B
Nix

{ qtModule
, qtbase
, qtdeclarative
, wayland
, pkg-config
, libdrm
, fetchpatch
}:
qtModule {
pname = "qtwayland";
propagatedBuildInputs = [ qtbase qtdeclarative ];
buildInputs = [ wayland libdrm ];
nativeBuildInputs = [ pkg-config ];
patches = [
# Fix potential crash issues when some submenus are expanded
# https://codereview.qt-project.org/c/qt/qtwayland/+/519344/
(fetchpatch {
url = "https://code.qt.io/cgit/qt/qtwayland.git/patch/?id=aae65c885d8e38d8abc2959cded7b5e9e5fc88b3";
hash = "sha256-FD1VaiTgl9Z1y+5EDpWYShM1ULoFdET86FoFfqDmjyo=";
})
];
}