blob: 209e61e9d1841ee2f8d7aaafeca0b97e5a0c73d7 (
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
|
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, udev
, wayland
, wayland-protocols
, wayland-scanner
}:
let
version = "0.3";
in
stdenv.mkDerivation {
pname = "wljoywake";
inherit version;
src = fetchFromGitHub {
repo = "wljoywake";
owner = "nowrep";
rev = "v${version}";
hash = "sha256-zSYNfsFjswaSXZPlIDMDC87NK/6AKtArHBeWCWDDR3E=";
};
nativeBuildInputs = [
meson
ninja
pkg-config
wayland-scanner
];
buildInputs = [
udev
wayland
wayland-protocols
];
meta = with lib; {
description = "Wayland tool for idle inhibit when using joysticks";
homepage = "https://github.com/nowrep/wljoywake";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = [ maintainers.jtrees ];
mainProgram = "wljoywake";
};
}
|