nixpkgs/pkgs/development/mobile/titaniumenv/examples/default.nix
2013-03-05 15:57:54 +01:00

34 lines
793 B
Nix

{ nixpkgs ? <nixpkgs> }:
let
pkgs = import nixpkgs {};
in
rec {
kitchensink_android = import ./kitchensink {
inherit (pkgs) fetchgit titaniumenv;
target = "android";
};
kitchensink_iphone = import ./kitchensink {
inherit (pkgs) fetchgit titaniumenv;
target = "iphone";
};
emulate_kitchensink = import ./emulate-kitchensink {
inherit (pkgs.titaniumenv) androidenv;
kitchensink = kitchensink_android;
};
simulate_kitchensink_iphone = import ./simulate-kitchensink {
inherit (pkgs.titaniumenv) xcodeenv;
kitchensink = kitchensink_iphone;
device = "iPhone";
};
simulate_kitchensink_ipad = import ./simulate-kitchensink {
inherit (pkgs.titaniumenv) xcodeenv;
kitchensink = kitchensink_iphone;
device = "iPad";
};
}