{ lib, stdenv, fetchgit , pkg-config , cairo, glib, libevdev, libinput, libxkbcommon, linux-pam, pango, pixman , libucl, wayland, wayland-protocols, wayland-scanner, wlroots, mesa , libdrm, libgbm, ninja, libxcb-wm, meson , features ? { gammacontrol = true; layershell = true; screencopy = true; xwayland = true; } }: stdenv.mkDerivation rec { pname = "hikari"; version = "3.0.0"; src = fetchgit { url = "https://codeberg.org/thomasadam/hikari"; rev = version; hash = "sha256-gcD0VYIqGoArvRcDpS0BYGDwuxVJZYQpuvv0is6dozM="; }; nativeBuildInputs = [ pkg-config meson ninja ]; buildInputs = [ cairo glib libevdev libinput libxkbcommon libxcb-wm libdrm libgbm linux-pam pango pixman libucl mesa # for libEGL wayland wayland-protocols wayland-scanner wlroots ]; enableParallelBuilding = true; postPatch = '' sed -i 's@@@' src/*.c ''; meta = with lib; { description = "package definition kept around since it was removed in nixpkgs"; homepage = "https://hikari.acmelabs.space"; license = licenses.bsd2; platforms = platforms.linux ++ platforms.freebsd; maintainers = with maintainers; [ jpotier ]; }; }