2020-10-03 06:35:47 +03:00
|
|
|
{ stdenv
|
|
|
|
, lib
|
|
|
|
, callPackage
|
|
|
|
, mrbgems
|
|
|
|
, mruby
|
|
|
|
, mobile-nixos
|
|
|
|
, input-utils
|
|
|
|
}:
|
|
|
|
|
|
|
|
let
|
|
|
|
script-loader = mobile-nixos.stage-1.script-loader.override({
|
2021-01-19 05:50:42 +03:00
|
|
|
withSimulator = true;
|
2020-10-03 06:35:47 +03:00
|
|
|
});
|
|
|
|
applet = callPackage ./. {};
|
|
|
|
in
|
|
|
|
(script-loader.wrap {
|
|
|
|
name = "simulator";
|
|
|
|
applet = "${applet}/libexec/app.mrb";
|
|
|
|
env = {
|
|
|
|
PATH = "${input-utils}/bin:$PATH";
|
|
|
|
};
|
|
|
|
}).overrideAttrs(old: rec {
|
2021-01-04 13:51:31 +03:00
|
|
|
pname = "tdm-gui-simulator";
|
2020-10-03 06:35:47 +03:00
|
|
|
version = "0.0.1";
|
|
|
|
name = "${pname}-${version}";
|
|
|
|
})
|