mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-02 03:43:06 +00:00
57 lines
943 B
Nix
57 lines
943 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
fetchFromGitHub,
|
|
pkg-config,
|
|
cmake,
|
|
hyprutils,
|
|
wayland,
|
|
wayland-protocols,
|
|
wayland-scanner,
|
|
hyprlang,
|
|
sdbus-cpp_2,
|
|
systemd,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "hypridle";
|
|
version = "0.1.4";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "hyprwm";
|
|
repo = "hypridle";
|
|
rev = "v${finalAttrs.version}";
|
|
hash = "sha256-20a3pg94dyLFflbBIN+EYJ04nWfWldTfd2YmB/rcrqY=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
wayland-scanner
|
|
];
|
|
|
|
buildInputs = [
|
|
hyprlang
|
|
hyprutils
|
|
sdbus-cpp_2
|
|
systemd
|
|
wayland
|
|
wayland-protocols
|
|
];
|
|
|
|
meta = {
|
|
description = "Hyprland's idle daemon";
|
|
homepage = "https://github.com/hyprwm/hypridle";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [
|
|
iogamaster
|
|
khaneliman
|
|
];
|
|
mainProgram = "hypridle";
|
|
platforms = [
|
|
"aarch64-linux"
|
|
"x86_64-linux"
|
|
];
|
|
};
|
|
})
|