2021-01-29 18:50:13 +01:00
|
|
|
{ callPackage, dart }:
|
2019-12-24 18:01:45 +01:00
|
|
|
let
|
|
|
|
mkFlutter = opts: callPackage (import ./flutter.nix opts) { };
|
|
|
|
getPatches = dir:
|
|
|
|
let files = builtins.attrNames (builtins.readDir dir);
|
|
|
|
in map (f: dir + ("/" + f)) files;
|
2021-01-06 21:38:03 +01:00
|
|
|
in
|
|
|
|
{
|
2020-08-28 18:13:30 +02:00
|
|
|
mkFlutter = mkFlutter;
|
2020-06-17 18:27:50 +02:00
|
|
|
stable = mkFlutter rec {
|
2021-01-29 18:50:13 +01:00
|
|
|
inherit dart;
|
2019-12-24 18:01:45 +01:00
|
|
|
pname = "flutter";
|
2021-01-29 18:50:13 +01:00
|
|
|
version = "1.22.4";
|
|
|
|
sha256Hash = "0qalgav9drqddcj8lfvl9ddf3325n953pvkmgha47lslg9sa88zw";
|
|
|
|
patches = getPatches ./patches/stable;
|
2019-12-24 18:01:45 +01:00
|
|
|
};
|
|
|
|
}
|