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