3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/compilers/flutter/default.nix
2021-01-27 14:48:10 -03:00

18 lines
455 B
Nix

{ 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;
in
{
mkFlutter = mkFlutter;
stable = mkFlutter rec {
inherit dart;
pname = "flutter";
version = "1.22.4";
sha256Hash = "0qalgav9drqddcj8lfvl9ddf3325n953pvkmgha47lslg9sa88zw";
patches = getPatches ./patches/stable;
};
}