wlinhibit: init

This commit is contained in:
Felix Nilles
2024-05-30 17:18:21 +02:00
parent e85f56bc9a
commit 8b9bc5beff
+42
View File
@@ -0,0 +1,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;
};
}