1{
2 lib,
3 buildDartApplication,
4 fetchFromGitHub,
5 nix-update-script,
6}:
7
8buildDartApplication rec {
9 pname = "fvm";
10 version = "3.2.1";
11
12 src = fetchFromGitHub {
13 owner = "leoafarias";
14 repo = "fvm";
15 tag = version;
16 hash = "sha256-i7sJRBrS5qyW8uGlx+zg+wDxsxgmolTMcikHyOzv3Bs=";
17 };
18
19 pubspecLock = lib.importJSON ./pubspec.lock.json;
20
21 passthru.updateScript = nix-update-script { };
22
23 meta = {
24 description = "Simple CLI to manage Flutter SDK versions";
25 homepage = "https://github.com/leoafarias/fvm";
26 license = lib.licenses.mit;
27 maintainers = with lib.maintainers; [ ];
28 };
29}