mirror of
https://github.com/hyprwm/hypridle.git
synced 2024-11-16 23:25:58 +01:00
42 lines
659 B
Nix
42 lines
659 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
pkg-config,
|
|
hyprlang,
|
|
hyprutils,
|
|
sdbus-cpp,
|
|
systemd,
|
|
wayland,
|
|
wayland-protocols,
|
|
wayland-scanner,
|
|
version ? "git",
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "hypridle";
|
|
inherit version;
|
|
src = ../.;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
hyprlang
|
|
hyprutils
|
|
sdbus-cpp
|
|
systemd
|
|
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;
|
|
mainProgram = "hypridle";
|
|
};
|
|
}
|