lol

projecteur: reformat

+26 -10
+26 -10
pkgs/os-specific/linux/projecteur/default.nix
··· 1 - { lib, mkDerivation, fetchFromGitHub, 2 - cmake, pkg-config, 3 - qtbase, qtgraphicaleffects, wrapQtAppsHook }: 1 + { lib 2 + , mkDerivation 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , qtbase 7 + , qtgraphicaleffects 8 + , wrapQtAppsHook 9 + }: 10 + 4 11 mkDerivation rec { 5 12 pname = "projecteur"; 6 13 version = "0.9.2"; ··· 10 17 repo = "Projecteur"; 11 18 rev = "v${version}"; 12 19 fetchSubmodules = false; 13 - sha256 = "sha256-kg6oYtJ4H5A6RNATBg+XvMfCb9FlhEBFjfxamGosMQg="; 20 + hash = "sha256-kg6oYtJ4H5A6RNATBg+XvMfCb9FlhEBFjfxamGosMQg="; 14 21 }; 15 22 16 23 postPatch = '' 17 24 sed '1i#include <array>' -i src/device.h # gcc12 18 25 ''; 19 26 20 - buildInputs = [ qtbase qtgraphicaleffects ]; 21 - nativeBuildInputs = [ wrapQtAppsHook cmake pkg-config ]; 27 + buildInputs = [ 28 + qtbase 29 + qtgraphicaleffects 30 + ]; 31 + 32 + nativeBuildInputs = [ 33 + cmake 34 + pkg-config 35 + wrapQtAppsHook 36 + ]; 22 37 23 38 cmakeFlags = [ 24 39 "-DCMAKE_INSTALL_PREFIX:PATH=${placeholder "out"}" ··· 26 41 "-DCMAKE_INSTALL_UDEVRULESDIR=${placeholder "out"}/lib/udev/rules.d" 27 42 ]; 28 43 29 - meta = with lib; { 44 + meta = { 30 45 description = "Linux/X11 application for the Logitech Spotlight device (and similar devices)."; 31 46 homepage = "https://github.com/jahnf/Projecteur"; 32 - license = licenses.mit; 33 - platforms = platforms.linux; 34 - maintainers = with maintainers; [ benneti ]; 47 + license = lib.licenses.mit; 48 + mainProgram = "projecteur"; 49 + maintainers = with lib.maintainers; [ benneti drupol ]; 50 + platforms = lib.platforms.linux; 35 51 }; 36 52 }