hypridle/nix/default.nix

38 lines
563 B
Nix
Raw Normal View History

2024-02-17 22:06:07 +01:00
{
lib,
stdenv,
cmake,
pkg-config,
hyprlang,
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
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;
};
}