mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 11:33:31 +00:00
flutter: 3.0.4->3.3.0, flutter.dart: 2.17.5->2.18.0
This commit is contained in:
parent
c6cd5022d5
commit
f127398be2
@ -4,20 +4,20 @@ let
|
|||||||
getPatches = dir:
|
getPatches = dir:
|
||||||
let files = builtins.attrNames (builtins.readDir dir);
|
let files = builtins.attrNames (builtins.readDir dir);
|
||||||
in map (f: dir + ("/" + f)) files;
|
in map (f: dir + ("/" + f)) files;
|
||||||
version = "3.0.4";
|
version = "3.3.0";
|
||||||
channel = "stable";
|
channel = "stable";
|
||||||
filename = "flutter_linux_${version}-${channel}.tar.xz";
|
filename = "flutter_linux_${version}-${channel}.tar.xz";
|
||||||
|
|
||||||
# Decouples flutter derivation from dart derivation,
|
# Decouples flutter derivation from dart derivation,
|
||||||
# use specific dart version to not need to bump dart derivation when bumping flutter.
|
# use specific dart version to not need to bump dart derivation when bumping flutter.
|
||||||
dartVersion = "2.17.5";
|
dartVersion = "2.18.0";
|
||||||
dartSourceBase = "https://storage.googleapis.com/dart-archive/channels";
|
dartSourceBase = "https://storage.googleapis.com/dart-archive/channels";
|
||||||
dartForFlutter = dart.override {
|
dartForFlutter = dart.override {
|
||||||
version = dartVersion;
|
version = dartVersion;
|
||||||
sources = {
|
sources = {
|
||||||
"${dartVersion}-x86_64-linux" = fetchurl {
|
"${dartVersion}-x86_64-linux" = fetchurl {
|
||||||
url = "${dartSourceBase}/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip";
|
url = "${dartSourceBase}/stable/release/${dartVersion}/sdk/dartsdk-linux-x64-release.zip";
|
||||||
sha256 = "sha256-AFJGeiPsjUZSO+DykmOIFETg2jIohg62tp3ghZrKJFk=";
|
sha256 = "sha256-45HE7Y9iO5dI+JfLWF1ikFfBFB+er46bK+EYkyuhFjI=";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -30,7 +30,7 @@ in
|
|||||||
pname = "flutter";
|
pname = "flutter";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://storage.googleapis.com/flutter_infra_release/releases/${channel}/linux/${filename}";
|
url = "https://storage.googleapis.com/flutter_infra_release/releases/${channel}/linux/${filename}";
|
||||||
sha256 = "sha256-vh3QjLGFBN321DUET9XhYqSkILjEj+ZqAALu/mxY+go=";
|
sha256 = "sha256-qSonqm1EVNehz5+KClbg5daGXyz80hz1Llf3kirV1QQ=";
|
||||||
};
|
};
|
||||||
patches = getPatches ./patches;
|
patches = getPatches ./patches;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user