hypridle/nix/default.nix

34 lines
513 B
Nix
Raw Normal View History

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