5 , directx-shader-compiler
29 , vulkan-extension-layer
34 , vulkan-validation-layers
41 rustPlatform.buildRustPackage rec {
42 pname = "hyperspeedcube";
45 src = fetchFromGitHub {
47 repo = "Hyperspeedcube";
49 hash = "sha256-ykFf0dfc8j88Y25tx+G9lic09eHDz3WR+h6+owTeWbU=";
53 lockFile = ./Cargo.lock;
55 "key-names-1.5.1" = "sha256-ZO3mlCoUHCaMnxD2vQno6GNx0+JmwZ8OiqpyveiVfvc=";
72 directx-shader-compiler
85 # for execution errors (see https://github.com/emilk/egui/discussions/1587)
89 # WINIT_UNIX_BACKEND=wayland
92 # WINIT_UNIX_BACKEND=x11
102 vulkan-extension-layer
103 vulkan-validation-layers
110 --add-needed ${vulkan-loader}/lib/libvulkan.so.1 \
111 --add-needed ${libGL}/lib/libEGL.so.1 \
112 $out/bin/hyperspeedcube
113 wrapProgram $out/bin/hyperspeedcube --set WAYLAND_DISPLAY "" --set XDG_SESSION_TYPE ""
114 touch $out/bin/nonportable
118 description = "Hyperspeedcube is a 3D and 4D Rubik's cube simulator";
120 Hyperspeedcube is a modern, beginner-friendly 3D and 4D Rubik's cube
121 simulator with customizable mouse and keyboard controls and advanced
122 features for speedsolving. It's been used to break numerous speedsolving
123 records and runs on all major operating systems plus the web.
125 homepage = "https://ajfarkas.dev/hyperspeedcube/";
126 license = lib.licenses.cc-by-nc-sa-40;
127 maintainers = [ lib.maintainers.omnipotententity ];
128 platforms = [ "x86_64-linux" ];