flutter: remove with lib

qzylinra 08614021 0e700782

Changed files
+22 -24
pkgs
development
compilers
flutter
+15 -17
pkgs/development/compilers/flutter/engine/package.nix
···
dart = callPackage ./dart.nix { engine = finalAttrs.finalPackage; };
};
-
meta =
-
with lib;
-
{
-
# Very broken on Darwin
-
broken = stdenv.hostPlatform.isDarwin;
-
description = "Flutter engine";
-
homepage = "https://flutter.dev";
-
maintainers = with maintainers; [ RossComputerGuy ];
-
license = licenses.bsd3;
-
platforms = [
-
"x86_64-linux"
-
"aarch64-linux"
-
"x86_64-darwin"
-
"aarch64-darwin"
-
];
-
}
-
// lib.optionalAttrs (lib.versionOlder flutterVersion "3.22") { hydraPlatforms = [ ]; };
})
···
dart = callPackage ./dart.nix { engine = finalAttrs.finalPackage; };
};
+
meta = {
+
# Very broken on Darwin
+
broken = stdenv.hostPlatform.isDarwin;
+
description = "Flutter engine";
+
homepage = "https://flutter.dev";
+
maintainers = with lib.maintainers; [ RossComputerGuy ];
+
license = lib.licenses.bsd3;
+
platforms = [
+
"x86_64-linux"
+
"aarch64-linux"
+
"x86_64-darwin"
+
"aarch64-darwin"
+
];
+
}
+
// lib.optionalAttrs (lib.versionOlder flutterVersion "3.22") { hydraPlatforms = [ ]; };
})
+7 -7
pkgs/development/compilers/flutter/flutter.nix
···
inherit engine;
};
-
meta = with lib; {
-
description = "Flutter is Google's SDK for building mobile, web and desktop with Dart";
longDescription = ''
-
Flutter is Google’s UI toolkit for building beautiful,
-
natively compiled applications for mobile, web, and desktop from a single codebase.
'';
homepage = "https://flutter.dev";
-
license = licenses.bsd3;
platforms = [
"x86_64-linux"
"aarch64-linux"
···
"aarch64-darwin"
];
mainProgram = "flutter";
-
maintainers = with maintainers; [
ericdallo
];
-
teams = [ teams.flutter ];
};
};
in
···
inherit engine;
};
+
meta = {
+
description = "Makes it easy and fast to build beautiful apps for mobile and beyond";
longDescription = ''
+
Flutter is Google's SDK for crafting beautiful,
+
fast user experiences for mobile, web, and desktop from a single codebase.
'';
homepage = "https://flutter.dev";
+
license = lib.licenses.bsd3;
platforms = [
"x86_64-linux"
"aarch64-linux"
···
"aarch64-darwin"
];
mainProgram = "flutter";
+
maintainers = with lib.maintainers; [
ericdallo
];
+
teams = [ lib.teams.flutter ];
};
};
in