2024-01-25 14:12:00 +00:00
|
|
|
let
|
|
|
|
dartVersion = "@dart_version@";
|
|
|
|
platform = "@platform@";
|
2024-06-20 14:57:18 +00:00
|
|
|
channel = "@channel@";
|
2024-01-25 14:12:00 +00:00
|
|
|
in
|
|
|
|
{
|
|
|
|
x86_64-linux = { fetchzip }:
|
|
|
|
fetchzip {
|
2024-06-20 14:57:18 +00:00
|
|
|
url = "https://storage.googleapis.com/dart-archive/channels/${channel}/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip";
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
aarch64-linux = { fetchzip }:
|
|
|
|
fetchzip {
|
2024-06-20 14:57:18 +00:00
|
|
|
url = "https://storage.googleapis.com/dart-archive/channels/${channel}/release/${dartVersion}/sdk/dartsdk-linux-arm64-release.zip";
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
x86_64-darwin = { fetchzip }:
|
|
|
|
fetchzip {
|
2024-06-20 14:57:18 +00:00
|
|
|
url = "https://storage.googleapis.com/dart-archive/channels/${channel}/release/${dartVersion}/sdk/dartsdk-macos-x64-release.zip";
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
aarch64-darwin = { fetchzip }:
|
|
|
|
fetchzip {
|
2024-06-20 14:57:18 +00:00
|
|
|
url = "https://storage.googleapis.com/dart-archive/channels/${channel}/release/${dartVersion}/sdk/dartsdk-macos-arm64-release.zip";
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "0000000000000000000000000000000000000000000000000000";
|
2024-01-25 14:12:00 +00:00
|
|
|
};
|
|
|
|
}.${platform}
|