mirror of
https://github.com/hyprwm/hypridle.git
synced 2024-11-16 23:25:58 +01:00
34 lines
513 B
Nix
34 lines
513 B
Nix
|
{
|
||
|
lib,
|
||
|
stdenv,
|
||
|
cmake,
|
||
|
pkg-config,
|
||
|
hyprlang,
|
||
|
wayland,
|
||
|
wayland-protocols,
|
||
|
version ? "git",
|
||
|
}:
|
||
|
stdenv.mkDerivation {
|
||
|
pname = "hypridle";
|
||
|
inherit version;
|
||
|
src = ../.;
|
||
|
|
||
|
nativeBuildInputs = [
|
||
|
cmake
|
||
|
pkg-config
|
||
|
];
|
||
|
|
||
|
buildInputs = [
|
||
|
hyprlang
|
||
|
wayland
|
||
|
wayland-protocols
|
||
|
];
|
||
|
|
||
|
meta = {
|
||
|
homepage = "https://github.com/hyprwm/hypridle";
|
||
|
description = "An idle management daemon for Hyprland";
|
||
|
license = lib.licenses.bsd3;
|
||
|
platforms = lib.platforms.linux;
|
||
|
};
|
||
|
}
|