flutter: remove with lib

This commit is contained in:
qzylinra 2025-08-13 16:21:52 +08:00
parent 0e70078296
commit 086140219e
2 changed files with 22 additions and 24 deletions

View File

@ -347,21 +347,19 @@ stdenv.mkDerivation (finalAttrs: {
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 = [ ]; };
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 = [ ]; };
})

View File

@ -189,14 +189,14 @@ let
inherit engine;
};
meta = with lib; {
description = "Flutter is Google's SDK for building mobile, web and desktop with Dart";
meta = {
description = "Makes it easy and fast to build beautiful apps for mobile and beyond";
longDescription = ''
Flutter is Googles UI toolkit for building beautiful,
natively compiled applications for mobile, web, and desktop from a single codebase.
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 = licenses.bsd3;
license = lib.licenses.bsd3;
platforms = [
"x86_64-linux"
"aarch64-linux"
@ -204,10 +204,10 @@ let
"aarch64-darwin"
];
mainProgram = "flutter";
maintainers = with maintainers; [
maintainers = with lib.maintainers; [
ericdallo
];
teams = [ teams.flutter ];
teams = [ lib.teams.flutter ];
};
};
in