{ 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 ]; }