hypridle/nix/default.nix

43 lines
659 B
Nix
Raw Permalink 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,
wayland-scanner,
2024-02-17 22:06:07 +01:00
version ? "git",
}:
stdenv.mkDerivation {
pname = "hypridle";
inherit version;
src = ../.;
nativeBuildInputs = [
cmake
pkg-config
wayland-scanner
2024-02-17 22:06:07 +01:00
];
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
};
}