nixpkgs mirror (for testing)
github.com/NixOS/nixpkgs
nix
1{
2 lib,
3 stdenv,
4 fetchFromGitHub,
5 meson,
6 ninja,
7 pkg-config,
8 wayland,
9 wayland-protocols,
10 wayland-scanner,
11}:
12stdenv.mkDerivation {
13 pname = "wlinhibit";
14 version = "0.1.2";
15
16 src = fetchFromGitHub {
17 owner = "0x5a4";
18 repo = "wlinhibit";
19 rev = "v0.1.2";
20 hash = "sha256-mAEBnlIfW1R5+3CMH4ZumQ39Ss2K7PfW28I4/O9saWE=";
21 };
22
23 buildInputs = [
24 wayland
25 wayland-protocols
26 ];
27
28 strictDeps = true;
29
30 nativeBuildInputs = [
31 meson
32 ninja
33 pkg-config
34 wayland-scanner
35 ];
36
37 meta = {
38 description = "Simple, stupid idle inhibitor for wayland";
39 license = lib.licenses.mit;
40 homepage = "https://github.com/0x5a4/wlinhibit";
41 platforms = lib.platforms.linux;
42 maintainers = with lib.maintainers; [ _0x5a4 ];
43 };
44}