luaPackages.lgi: move to generated

This commit is contained in:
Matthieu Coudron
2019-02-12 11:47:54 +09:00
parent c01fe375ca
commit 71b2e1f554
4 changed files with 32 additions and 37 deletions
@@ -18,6 +18,17 @@ with super;
'';
});
lgi = super.lgi.overrideAttrs(oa: {
nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with pkgs; oa.buildInputs ++ [ glib gobjectIntrospection];
patches = [
(pkgs.fetchpatch {
name = "lgi-find-cairo-through-typelib.patch";
url = "https://github.com/psychon/lgi/commit/46a163d9925e7877faf8a4f73996a20d7cf9202a.patch";
sha256 = "0gfvvbri9kyzhvq3bvdbj2l6mwvlz040dk4mrd5m9gz79f7w109c";
})
];
});
ltermbox = super.ltermbox.override( {
disabled = !isLua51 || isLuaJIT;