blob: 62f4e3e62b25590c67e23bd0232470c7fb7a1b6c (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
{ lib
, stdenv
, fetchFromGitHub
, pkg-config
, wayland
, libinput
, yaml-cpp
}:
stdenv.mkDerivation rec {
pname = "way-displays";
version = "1.11.0";
src = fetchFromGitHub {
owner = "alex-courtis";
repo = "way-displays";
rev = version;
sha256 = "sha256-uJsamTsfxpFoKOSgNs6+VQpB7/ec4NoHJsjtDa5Dex8=";
};
strictDeps = true;
nativeBuildInputs = [
pkg-config
wayland
];
buildInputs = [
wayland
yaml-cpp
libinput
];
makeFlags = [
"PREFIX=${placeholder "out"}"
"PREFIX_ETC=${placeholder "out"}"
"CC:=$(CC)"
"CXX:=$(CXX)"
];
meta = with lib; {
homepage = "https://github.com/alex-courtis/way-displays";
description = "Auto Manage Your Wayland Displays";
license = licenses.mit;
maintainers = with maintainers; [ simoneruffini ];
platforms = platforms.linux;
mainProgram = "way-displays";
};
}
|