nixpkgs-suyu/pkgs/development/compilers/flutter/default.nix

18 lines
455 B
Nix
Raw Normal View History

{ callPackage, dart }:
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
{
mkFlutter = mkFlutter;
2020-06-17 18:27:50 +02:00
stable = mkFlutter rec {
inherit dart;
pname = "flutter";
version = "1.22.4";
sha256Hash = "0qalgav9drqddcj8lfvl9ddf3325n953pvkmgha47lslg9sa88zw";
patches = getPatches ./patches/stable;
};
}