add kiwmi as git subtree and derivation to build it
This commit is contained in:
parent
77444ac47c
commit
74a1c01900
14
default.nix
Normal file
14
default.nix
Normal file
@ -0,0 +1,14 @@
|
||||
{ stdenv
|
||||
, callPackage
|
||||
, lua5_3
|
||||
|
||||
} :
|
||||
let
|
||||
kiwmi = callPackage ./kiwmi.nix { lua = lua5_3; };
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
pname = "eufon";
|
||||
version = "0.1";
|
||||
buildInputs = [ kiwmi ];
|
||||
src = ./.;
|
||||
}
|
57
kiwmi.nix
Normal file
57
kiwmi.nix
Normal file
@ -0,0 +1,57 @@
|
||||
{ lib
|
||||
, stdenv
|
||||
, fetchFromGitHub
|
||||
, cairo
|
||||
, fennel
|
||||
, git
|
||||
, glib
|
||||
, libdrm
|
||||
, libinput
|
||||
, libxcb
|
||||
, libxkbcommon
|
||||
, libxml2
|
||||
, lua
|
||||
, meson
|
||||
, ninja
|
||||
, pango
|
||||
, pkg-config
|
||||
, scdoc
|
||||
, wayland
|
||||
, wayland-protocols
|
||||
, wlroots
|
||||
, 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
|
||||
wlroots
|
||||
xwayland
|
||||
];
|
||||
|
||||
# mesonFlags = [ "-Dxwayland=enabled" ];
|
||||
}
|
Loading…
Reference in New Issue
Block a user