2020-04-23 18:19:12 +00:00
|
|
|
{ callPackage
|
|
|
|
, meta, source
|
|
|
|
, goBuildFlags
|
|
|
|
, goBuildLdFlags }:
|
|
|
|
|
|
|
|
{
|
|
|
|
android = callPackage ./build.nix {
|
|
|
|
platform = "android";
|
2020-05-05 08:03:43 +00:00
|
|
|
# 386 is for android simulator
|
2020-04-23 18:19:12 +00:00
|
|
|
architectures = [ "arm" "arm64" "386" ];
|
|
|
|
outputFileName = "status-go-${source.shortRev}.aar";
|
|
|
|
inherit meta source goBuildFlags goBuildLdFlags;
|
2019-11-29 10:20:08 +00:00
|
|
|
};
|
2019-05-02 18:13:16 +00:00
|
|
|
|
2020-04-23 18:19:12 +00:00
|
|
|
ios = callPackage ./build.nix {
|
|
|
|
platform = "ios";
|
2020-05-05 08:03:43 +00:00
|
|
|
# amd64 is for ios simulator
|
2021-04-12 14:59:39 +00:00
|
|
|
architectures = [ "arm64" "amd64" ];
|
2020-04-23 18:19:12 +00:00
|
|
|
outputFileName = "Statusgo.framework";
|
|
|
|
inherit meta source goBuildFlags goBuildLdFlags;
|
|
|
|
};
|
|
|
|
}
|