eufon/kiwmi.nix

61 lines
746 B
Nix
Raw Permalink Normal View History

{ lib
, stdenv
2022-05-18 09:33:37 +00:00
, debug ? false
, 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
, 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
xwayland
];
2022-05-18 09:33:37 +00:00
dontStrip = debug;
mesonFlags = lib.optionals debug [ "--buildtype=debug" ];
}