Skip to content

Commit

Permalink
chore: fmt
Browse files Browse the repository at this point in the history
Signed-off-by: Sefa Eyeoglu <[email protected]>
  • Loading branch information
Scrumplex committed Jan 12, 2024
1 parent d9ba7a8 commit c8de491
Showing 1 changed file with 27 additions and 26 deletions.
53 changes: 27 additions & 26 deletions pkgs/index_camera_passthrough/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,35 @@
rustPlatform = makeRustPlatform {
cargo = toolchain;
rustc = toolchain;
};
in rustPlatform.buildRustPackage {
pname = "index-camera-passthrough";
version = "0";
};
in
rustPlatform.buildRustPackage {
pname = "index-camera-passthrough";
version = "0";

# src will be added by the source override
inherit cargoLock;
# src will be added by the source override
inherit cargoLock;

nativeBuildInputs = [
cmake
pkg-config
rustPlatform.bindgenHook
];
nativeBuildInputs = [
cmake
pkg-config
rustPlatform.bindgenHook
];

buildInputs = [
udev
vulkan-loader
openvr
];
buildInputs = [
udev
vulkan-loader
openvr
];

env.SHADERC_LIB_DIR = "${lib.getLib shaderc}/lib";
env.SHADERC_LIB_DIR = "${lib.getLib shaderc}/lib";

meta = with lib; {
description = "Experimental Valve Index camera passthrough for Linux";
homepage = "https://github.com/yshui/index_camera_passthrough";
license = licenses.mit;
maintainers = with maintainers; [Scrumplex];
mainProgram = "index_camera_passthrough";
platforms = platforms.linux;
};
}
meta = with lib; {
description = "Experimental Valve Index camera passthrough for Linux";
homepage = "https://github.com/yshui/index_camera_passthrough";
license = licenses.mit;
maintainers = with maintainers; [Scrumplex];
mainProgram = "index_camera_passthrough";
platforms = platforms.linux;
};
}

0 comments on commit c8de491

Please sign in to comment.