1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-24 16:32:12 +03:00
mobile-nixos/overlay/mruby-builder/mrbgems/mruby-lvgui/default.nix
2020-03-01 17:28:16 -05:00

31 lines
601 B
Nix

{ mrbgems
, callPackage
, fetchFromGitHub
, pkg-config
# 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 = "1c251ec97da1e4d3e99f0b9674b387c990211906";
sha256 = "03bhksn2rzixxl8dk7viw2avw5cv4zpfpkcijrxjy4cc76f1wkja";
};
gemBuildInputs = [
lvgui
] ++ lvgui.buildInputs;
gemNativeBuildInputs = [
pkg-config
];
}