about summary refs log tree commit diff
path: root/pkgs/by-name/wl/wlinhibit/package.nix
blob: 5aa0de34545209cd4bbe06e17803f2a05bcb94f1 (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
{
  lib,
  stdenv,
  fetchFromGitHub,
  meson,
  ninja,
  pkg-config,
  wayland,
  wayland-protocols,
}:
stdenv.mkDerivation rec {
  pname = "wlinhibit";
  version = "0.1.1";

  src = fetchFromGitHub {
    owner = "0x5a4";
    repo = "wlinhibit";
    rev = "v0.1.1";
    hash = "sha256-YQHJ9sLHSV8GJP7IpRzmtDbeB86y/a48mLcYy4iDciw=";
  };

  buildInputs = [
    wayland
    wayland-protocols
  ];

  strictDeps = true;

  nativeBuildInputs = [
    meson
    ninja
    pkg-config
  ];

  meta = {
    description = "simple, stupid idle inhibitor for wayland";
    license = lib.licenses.mit;
    homepage = "https://github.com/0x5a4/wlinhibit";
    platforms = lib.platforms.linux;
    maintainers = with lib.maintainers; [_0x5a4];
  };
}