1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-18 13:31:36 +03:00
mobile-nixos/overlay/mruby-builder/mrbgems/mruby-lvgui/default.nix

36 lines
687 B
Nix

{ mrbgems
, callPackage
, fetchFromGitHub
, pkg-config
, buildPackages
# Configuration
, withSimulator ? false
}:
let
# This is an implementation detail of this gem.
# Even if unusual, let's keep it private.
lvgui = (callPackage ./lvgui.nix {
inherit withSimulator;
});
in
mrbgems.mkGem {
src = fetchFromGitHub {
repo = "mruby-lvgui";
owner = "mobile-nixos";
rev = "ab7cf5b1b2e318a4bf5fc973507eb842dce80214";
sha256 = "09h9f3xlbvxdwpmzpf7whq0gphiv68842shy03ld712fw25393jx";
};
gemBuildInputs = [
lvgui
] ++ lvgui.buildInputs;
gemNativeBuildInputs = [
buildPackages.pkg-config
];
requiredGems = with mrbgems; [
mruby-fiddle
];
}