eufon/default.nix

31 lines
500 B
Nix
Raw Normal View History

{ stdenv
, callPackage
2022-04-26 20:14:46 +00:00
, fennel
2022-04-26 21:13:37 +00:00
, gobject-introspection
, gtk3
, gtk-layer-shell
, lua5_3
} :
let
2022-04-26 20:14:46 +00:00
fennel_ = (fennel.override { lua = lua5_3; });
luaWithPackages = lua5_3.withPackages (ps: with ps; [
(toLuaModule fennel_)
2022-04-26 21:13:37 +00:00
lgi
luaposix
2022-04-26 20:14:46 +00:00
]);
2022-04-26 21:13:37 +00:00
kiwmi = callPackage ./kiwmi.nix { lua = lua5_3; };
in
stdenv.mkDerivation {
pname = "eufon";
version = "0.1";
2022-04-26 21:13:37 +00:00
buildInputs = [
luaWithPackages
kiwmi
gobject-introspection.dev
gtk-layer-shell
gtk3
];
src = ./.;
}