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