depot/pkgs/by-name/wl/wlinhibit/package.nix
Luke Granger-Brown 57725ef3ec Squashed 'third_party/nixpkgs/' content from commit 76612b17c0ce
git-subtree-dir: third_party/nixpkgs
git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
2024-11-10 23:59:47 +00:00

44 lines
776 B
Nix

{
lib,
stdenv,
fetchFromGitHub,
meson,
ninja,
pkg-config,
wayland,
wayland-protocols,
wayland-scanner,
}:
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
wayland-scanner
];
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];
};
}