https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
16 lines
261 B
Nix
16 lines
261 B
Nix
{ qtModule
|
|
, qtbase
|
|
, qtquick3d
|
|
, qtdeclarative
|
|
, wayland
|
|
, pkg-config
|
|
, xlibsWrapper
|
|
, libdrm
|
|
}:
|
|
|
|
qtModule {
|
|
pname = "qtwayland";
|
|
qtInputs = [ qtbase qtdeclarative ];
|
|
buildInputs = [ wayland xlibsWrapper libdrm ];
|
|
nativeBuildInputs = [ pkg-config ];
|
|
}
|