2020-04-22 17:05:18 +00:00
|
|
|
{ config, lib, stdenvNoCC, callPackage, mkShell,
|
2020-04-26 12:40:06 +00:00
|
|
|
status-go, xcodeWrapper }:
|
2019-03-25 16:35:01 +00:00
|
|
|
|
|
|
|
let
|
2019-11-29 10:20:08 +00:00
|
|
|
inherit (lib) catAttrs concatStrings optional unique;
|
2019-06-04 16:50:29 +00:00
|
|
|
|
2020-04-22 17:05:18 +00:00
|
|
|
localMavenRepoBuilder = callPackage ../tools/maven/maven-repo-builder.nix { };
|
|
|
|
|
2019-11-29 10:20:08 +00:00
|
|
|
fastlane = callPackage ./fastlane { };
|
2020-04-22 17:05:18 +00:00
|
|
|
|
|
|
|
android = callPackage ./android {
|
2020-05-06 10:39:49 +00:00
|
|
|
inherit localMavenRepoBuilder;
|
2020-04-23 18:19:12 +00:00
|
|
|
status-go = status-go.mobile.android;
|
2019-11-29 10:20:08 +00:00
|
|
|
};
|
2020-04-22 17:05:18 +00:00
|
|
|
|
|
|
|
ios = callPackage ./ios {
|
2020-05-06 10:39:49 +00:00
|
|
|
inherit xcodeWrapper fastlane;
|
2020-04-23 18:19:12 +00:00
|
|
|
status-go = status-go.mobile.ios;
|
2019-11-29 10:20:08 +00:00
|
|
|
};
|
2020-04-22 17:05:18 +00:00
|
|
|
|
2019-06-04 16:50:29 +00:00
|
|
|
selectedSources = [
|
2020-04-23 18:19:12 +00:00
|
|
|
status-go.mobile.android
|
|
|
|
status-go.mobile.ios
|
2020-04-22 17:05:18 +00:00
|
|
|
fastlane
|
|
|
|
android
|
|
|
|
ios
|
2019-11-29 10:20:08 +00:00
|
|
|
];
|
2019-06-04 16:50:29 +00:00
|
|
|
|
|
|
|
in {
|
2020-05-05 22:48:50 +00:00
|
|
|
shell = mkShell {
|
|
|
|
inputsFrom = (catAttrs "shell" selectedSources);
|
|
|
|
};
|
2019-03-25 16:35:01 +00:00
|
|
|
|
2019-06-04 16:50:29 +00:00
|
|
|
# TARGETS
|
2020-04-22 17:05:18 +00:00
|
|
|
inherit android ios fastlane;
|
2019-06-04 16:50:29 +00:00
|
|
|
}
|