{ lib, rustPlatform, pkg-config, libxkbcommon, wayland, vulkan-loader, }: rustPlatform.buildRustPackage { pname = "image_viewer"; version = "0.0.1"; src = lib.fileset.toSource { root = ./.; fileset = ./.; }; strictDeps = true; cargoDeps = rustPlatform.importCargoLock { lockFile = ./Cargo.lock; }; nativeBuildInputs = [ pkg-config ]; buildInputs = [ libxkbcommon wayland vulkan-loader ]; }