hypridle/nix/default.nix

41 lines
620 B
Nix
Raw Normal View History

2024-02-17 22:06:07 +01:00
{
lib,
stdenv,
cmake,
pkg-config,
hyprlang,
hyprutils,
2024-02-17 23:25:25 +01:00
sdbus-cpp,
systemd,
2024-02-17 22:06:07 +01:00
wayland,
wayland-protocols,
version ? "git",
}:
stdenv.mkDerivation {
pname = "hypridle";
inherit version;
src = ../.;
nativeBuildInputs = [
cmake
pkg-config
];
buildInputs = [
hyprlang
hyprutils
2024-02-17 23:25:25 +01:00
sdbus-cpp
systemd
2024-02-17 22:06:07 +01:00
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;
2024-02-18 06:35:35 +01:00
mainProgram = "hypridle";
2024-02-17 22:06:07 +01:00
};
}