sivi/package.nix
2025-11-06 23:48:28 +01:00

33 lines
453 B
Nix

{
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
];
}