16 src = fetchFromGitHub {
20 fetchSubmodules = false;
21 hash = "sha256-F7o93rBjrDTmArTIz8RB/uGBOYE6ny/U7ppk+jEhM5A=";
25 sed '1i#include <array>' -i src/device.h # gcc12
40 "-DCMAKE_INSTALL_PREFIX:PATH=${placeholder "out"}"
41 "-DPACKAGE_TARGETS=OFF"
42 "-DCMAKE_INSTALL_UDEVRULESDIR=${placeholder "out"}/lib/udev/rules.d"
46 description = "Linux/X11 application for the Logitech Spotlight device (and similar devices)";
47 homepage = "https://github.com/jahnf/Projecteur";
48 license = lib.licenses.mit;
49 mainProgram = "projecteur";
50 maintainers = with lib.maintainers; [
54 platforms = lib.platforms.linux;