2025-05-22 17:25:48 +02:00
|
|
|
{
|
|
|
|
lib,
|
2025-06-08 04:51:20 +08:00
|
|
|
flutter329,
|
2025-05-22 17:25:48 +02:00
|
|
|
plant-it,
|
|
|
|
}:
|
|
|
|
|
2025-06-08 04:51:20 +08:00
|
|
|
flutter329.buildFlutterApplication {
|
2025-05-22 17:25:48 +02:00
|
|
|
pname = "plant-it-frontend";
|
|
|
|
inherit (plant-it) version src;
|
2025-06-08 04:51:20 +08:00
|
|
|
|
|
|
|
sourceRoot = "${plant-it.src.name}/frontend";
|
2025-05-22 17:25:48 +02:00
|
|
|
|
|
|
|
targetFlutterPlatform = "web";
|
|
|
|
|
|
|
|
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
|
|
|
|
|
|
|
meta = plant-it.meta // {
|
|
|
|
description = "Frontend for Plant It";
|
2025-06-08 04:51:20 +08:00
|
|
|
platforms = lib.platforms.linux;
|
2025-05-22 17:25:48 +02:00
|
|
|
};
|
|
|
|
}
|