blob: 63de7453935cef92d2a01fc9ff6d1f0ea6308b4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
{ lib, mkDerivation, fetchFromGitHub,
cmake, pkg-config,
qtbase, qtgraphicaleffects, wrapQtAppsHook }:
mkDerivation rec {
pname = "projecteur";
version = "0.9.2";
src = fetchFromGitHub {
owner = "jahnf";
repo = "Projecteur";
rev = "v${version}";
fetchSubmodules = false;
sha256 = "sha256-kg6oYtJ4H5A6RNATBg+XvMfCb9FlhEBFjfxamGosMQg=";
};
buildInputs = [ qtbase qtgraphicaleffects ];
nativeBuildInputs = [ wrapQtAppsHook cmake pkg-config ];
cmakeFlags = [
"-DCMAKE_INSTALL_PREFIX:PATH=${placeholder "out"}"
"-DPACKAGE_TARGETS=OFF"
"-DCMAKE_INSTALL_UDEVRULESDIR=${placeholder "out"}/lib/udev/rules.d"
];
meta = with lib; {
description = "Linux/X11 application for the Logitech Spotlight device (and similar devices).";
homepage = "https://github.com/jahnf/Projecteur";
license = licenses.mit;
platforms = platforms.linux;
maintainers = with maintainers; [ benneti ];
};
}
|