60f07311b9
GitOrigin-RevId: f8e2ebd66d097614d51a56a755450d4ae1632df1
26 lines
1.1 KiB
Nix
26 lines
1.1 KiB
Nix
let
|
|
dartVersion = "@dart_version@";
|
|
platform = "@platform@";
|
|
in
|
|
{
|
|
x86_64-linux = { fetchzip }:
|
|
fetchzip {
|
|
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip";
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
|
};
|
|
aarch64-linux = { fetchzip }:
|
|
fetchzip {
|
|
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${dartVersion}/sdk/dartsdk-linux-arm64-release.zip";
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
|
};
|
|
x86_64-darwin = { fetchzip }:
|
|
fetchzip {
|
|
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${dartVersion}/sdk/dartsdk-macos-x64-release.zip";
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
|
};
|
|
aarch64-darwin = { fetchzip }:
|
|
fetchzip {
|
|
url = "https://storage.googleapis.com/dart-archive/channels/stable/release/${dartVersion}/sdk/dartsdk-macos-arm64-release.zip";
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
|
};
|
|
}.${platform}
|