2021-11-24 03:44:06 +03:00
|
|
|
{ lib
|
2023-08-28 04:24:05 +03:00
|
|
|
, writeText
|
2023-06-20 13:49:57 +03:00
|
|
|
, flutter
|
2021-11-24 03:44:06 +03:00
|
|
|
, fetchFromGitHub
|
|
|
|
}:
|
|
|
|
|
2023-08-28 04:24:05 +03:00
|
|
|
flutter.buildFlutterApplication rec {
|
2021-11-24 03:44:06 +03:00
|
|
|
pname = "firmware-updater";
|
2024-05-01 00:36:59 +03:00
|
|
|
version = "unstable-2024-18-04";
|
2021-11-24 03:44:06 +03:00
|
|
|
|
2023-10-25 14:29:28 +03:00
|
|
|
pubspecLock = lib.importJSON ./pubspec.lock.json;
|
|
|
|
|
2024-05-01 00:36:59 +03:00
|
|
|
patches = [
|
|
|
|
./upgrade-file.patch
|
|
|
|
];
|
|
|
|
|
|
|
|
sourceRoot = "./source/packages/firmware_updater";
|
|
|
|
|
2023-10-25 14:29:28 +03:00
|
|
|
gitHashes = {
|
|
|
|
fwupd = "sha256-l/+HrrJk1mE2Mrau+NmoQ7bu9qhHU6wX68+m++9Hjd4=";
|
|
|
|
};
|
2021-11-24 03:44:06 +03:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "canonical";
|
|
|
|
repo = "firmware-updater";
|
2024-05-01 00:36:59 +03:00
|
|
|
rev = "e48bb3f693e5d76656a3e7bbc07be0fcbfa19f23";
|
|
|
|
hash = "sha256-SO3sDIsJCK4Sh51pXO4u6WX4zcFa6jQYu9E+WtVrjDE=";
|
2021-11-24 03:44:06 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Firmware Updater for Linux";
|
2024-03-19 05:14:51 +03:00
|
|
|
mainProgram = "firmware-updater";
|
2021-11-24 03:44:06 +03:00
|
|
|
homepage = "https://github.com/canonical/firmware-updater";
|
2022-02-19 18:30:25 +03:00
|
|
|
license = licenses.gpl3Only;
|
2021-11-24 03:44:06 +03:00
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|