2022-04-26 14:52:14 +00:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
2022-05-18 09:33:37 +00:00
|
|
|
, debug ? false
|
|
|
|
|
2022-04-26 14:52:14 +00:00
|
|
|
, fetchFromGitHub
|
|
|
|
, cairo
|
|
|
|
, fennel
|
|
|
|
, git
|
|
|
|
, glib
|
|
|
|
, libdrm
|
|
|
|
, libinput
|
|
|
|
, libxcb
|
|
|
|
, libxkbcommon
|
|
|
|
, libxml2
|
|
|
|
, lua
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pango
|
|
|
|
, pkg-config
|
|
|
|
, scdoc
|
|
|
|
, wayland
|
|
|
|
, wayland-protocols
|
2022-04-26 22:02:31 +00:00
|
|
|
, wlroots_0_15
|
2022-04-26 14:52:14 +00:00
|
|
|
, xwayland
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kiwmi";
|
|
|
|
version = "20220315";
|
|
|
|
|
|
|
|
src = ./kiwmi;
|
|
|
|
|
|
|
|
nativeBuildInputs = [
|
|
|
|
meson
|
|
|
|
ninja
|
|
|
|
pkg-config
|
|
|
|
scdoc
|
|
|
|
];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
cairo
|
|
|
|
fennel
|
|
|
|
glib
|
|
|
|
git # "needed to make the version string", le sigh
|
|
|
|
libdrm
|
|
|
|
libinput
|
|
|
|
libxcb
|
|
|
|
libxkbcommon
|
|
|
|
libxml2
|
|
|
|
lua
|
|
|
|
pango
|
|
|
|
wayland
|
|
|
|
wayland-protocols
|
2022-04-26 22:02:31 +00:00
|
|
|
wlroots_0_15
|
2022-04-26 14:52:14 +00:00
|
|
|
xwayland
|
|
|
|
];
|
|
|
|
|
2022-05-18 09:33:37 +00:00
|
|
|
dontStrip = debug;
|
|
|
|
mesonFlags = lib.optionals debug [ "--buildtype=debug" ];
|
2022-04-26 14:52:14 +00:00
|
|
|
}
|