Merge pull request #329823 from ExpidusOS/fix/pkgsllvm/elfutils
[NixPkgs.git] / pkgs / by-name / wl / wljoywake / package.nix
blob209e61e9d1841ee2f8d7aaafeca0b97e5a0c73d7
1 { lib
2 , stdenv
3 , fetchFromGitHub
4 , meson
5 , ninja
6 , pkg-config
7 , udev
8 , wayland
9 , wayland-protocols
10 , wayland-scanner
13 let
14   version = "0.3";
16 stdenv.mkDerivation {
17   pname = "wljoywake";
18   inherit version;
20   src = fetchFromGitHub {
21     repo = "wljoywake";
22     owner = "nowrep";
23     rev = "v${version}";
24     hash = "sha256-zSYNfsFjswaSXZPlIDMDC87NK/6AKtArHBeWCWDDR3E=";
25   };
27   nativeBuildInputs = [
28     meson
29     ninja
30     pkg-config
31     wayland-scanner
32   ];
34   buildInputs = [
35     udev
36     wayland
37     wayland-protocols
38   ];
40   meta = with lib; {
41     description = "Wayland tool for idle inhibit when using joysticks";
42     homepage = "https://github.com/nowrep/wljoywake";
43     license = licenses.gpl2;
44     platforms = platforms.linux;
45     maintainers = [ maintainers.jtrees ];
46     mainProgram = "wljoywake";
47   };