mirror of
https://github.com/hyprwm/hypridle.git
synced 2024-11-16 23:25:58 +01:00
Mihai Fufezan
fc4e3bd2dc
* flake.lock: update * config: use hyprutils helper * Nix: add hyprutils dep flake.lock: update
40 lines
620 B
Nix
40 lines
620 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
cmake,
|
|
pkg-config,
|
|
hyprlang,
|
|
hyprutils,
|
|
sdbus-cpp,
|
|
systemd,
|
|
wayland,
|
|
wayland-protocols,
|
|
version ? "git",
|
|
}:
|
|
stdenv.mkDerivation {
|
|
pname = "hypridle";
|
|
inherit version;
|
|
src = ../.;
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
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";
|
|
};
|
|
}
|