1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-20 06:21:33 +03:00
mobile-nixos/overlay/mruby-builder/mrbgems/mruby-lvgui/default.nix

31 lines
601 B
Nix
Raw Normal View History

2020-02-28 07:45:11 +03:00
{ 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 = "d281e8b59f7e70709b7cbb993a84148eaa415302";
sha256 = "1ial5lhwl5izn65i5ycpkz3vkmzfmf72w7rx8xb337qnarh4k60z";
};
gemBuildInputs = [
lvgui
] ++ lvgui.buildInputs;
gemNativeBuildInputs = [
pkg-config
];
}