2019-12-24 17:01:45 +00:00
|
|
|
{ callPackage }:
|
|
|
|
|
|
|
|
let
|
|
|
|
mkFlutter = opts: callPackage (import ./flutter.nix opts) { };
|
|
|
|
getPatches = dir:
|
|
|
|
let files = builtins.attrNames (builtins.readDir dir);
|
|
|
|
in map (f: dir + ("/" + f)) files;
|
|
|
|
in {
|
2020-08-28 17:13:30 +01:00
|
|
|
mkFlutter = mkFlutter;
|
2020-06-17 17:27:50 +01:00
|
|
|
stable = mkFlutter rec {
|
2019-12-24 17:01:45 +00:00
|
|
|
pname = "flutter";
|
|
|
|
channel = "stable";
|
2020-07-05 16:15:14 +01:00
|
|
|
version = "1.17.5";
|
2020-06-17 17:27:50 +01:00
|
|
|
filename = "flutter_linux_${version}-${channel}.tar.xz";
|
2020-07-05 16:15:14 +01:00
|
|
|
sha256Hash = "0kapja3nh7dfhjbn2np02wghijrjnpzsv4hz10fj54hs8hdx19di";
|
2019-12-24 17:01:45 +00:00
|
|
|
patches = getPatches ./patches/stable;
|
|
|
|
};
|
2020-06-17 17:27:50 +01:00
|
|
|
beta = mkFlutter rec {
|
2019-12-24 17:01:45 +00:00
|
|
|
pname = "flutter-beta";
|
|
|
|
channel = "beta";
|
2020-07-29 15:56:22 +01:00
|
|
|
version = "1.20.0-7.2.pre";
|
2020-06-17 17:27:50 +01:00
|
|
|
filename = "flutter_linux_${version}-${channel}.tar.xz";
|
2020-07-29 15:56:22 +01:00
|
|
|
sha256Hash = "0w89ig5vi4spa95mf08r4vvwni7bzzdlyhvr9sy1a35qmf7j9s6f";
|
2019-12-24 17:01:45 +00:00
|
|
|
patches = getPatches ./patches/beta;
|
|
|
|
};
|
2020-04-04 23:41:19 +01:00
|
|
|
dev = mkFlutter rec {
|
2019-12-24 17:01:45 +00:00
|
|
|
pname = "flutter-dev";
|
|
|
|
channel = "dev";
|
2020-07-29 15:56:22 +01:00
|
|
|
version = "1.21.0-1.0.pre";
|
2020-04-04 23:41:19 +01:00
|
|
|
filename = "flutter_linux_${version}-${channel}.tar.xz";
|
2020-07-29 15:56:22 +01:00
|
|
|
sha256Hash = "14rx89jp6ivk3ai7iwbznkr5q445ndh8fppzbxg520kq10s2208r";
|
2020-04-04 23:41:19 +01:00
|
|
|
patches = getPatches ./patches/beta;
|
2019-12-24 17:01:45 +00:00
|
|
|
};
|
|
|
|
}
|