{ lib, stdenv, cmake, fetchFromGitHub, pkg-config, hyprland-protocols, hyprutils, hyprwayland-scanner, wayland, wayland-protocols, wayland-scanner, nix-update-script, }: stdenv.mkDerivation (finalAttrs: { pname = "hyprsunset"; version = "0.1.0"; src = fetchFromGitHub { owner = "hyprwm"; repo = "hyprsunset"; rev = "refs/tags/v${finalAttrs.version}"; hash = "sha256-SVkcePzX9PAlWsPSGBaxiNFCouiQmGOezhMo0+zhDIQ="; }; nativeBuildInputs = [ cmake pkg-config hyprwayland-scanner ]; buildInputs = [ hyprland-protocols hyprutils wayland wayland-protocols wayland-scanner ]; passthru = { updateScript = nix-update-script { }; }; meta = { homepage = "https://github.com/hyprwm/hyprsunset"; description = "Application to enable a blue-light filter on Hyprland"; license = lib.licenses.bsd3; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ fufexan johnrtitor ]; mainProgram = "hyprsunset"; }; })