2022-02-20 05:27:41 +00:00
|
|
|
{ lib
|
2022-10-21 18:38:19 +00:00
|
|
|
, flutter2
|
2022-02-20 05:27:41 +00:00
|
|
|
, fetchFromGitHub
|
2022-11-21 17:40:18 +00:00
|
|
|
, stdenv
|
2022-02-20 05:27:41 +00:00
|
|
|
}:
|
|
|
|
|
2022-10-21 18:38:19 +00:00
|
|
|
flutter2.mkFlutterApp {
|
2022-02-20 05:27:41 +00:00
|
|
|
pname = "firmware-updater";
|
|
|
|
version = "unstable";
|
|
|
|
|
2022-11-21 17:40:18 +00:00
|
|
|
vendorHash =
|
|
|
|
if stdenv.system == "aarch64-linux"
|
|
|
|
then "sha256-+ACmcIKXtGtaYBuwc7jY9hEdIS9qxQCbuxRKJQohX5A="
|
|
|
|
else "sha256-nPblucEpNCBJYpIqx1My6SWq8CjXYuHDG/uphdcrWjQ=";
|
2022-02-20 05:27:41 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "canonical";
|
|
|
|
repo = "firmware-updater";
|
|
|
|
rev = "a51817a2551e29895352618a91df9cf93d944af1";
|
|
|
|
sha256 = "6uhks6a9JcyIC5o0VssqfBlE4pqKiQ7d3KOb6feNTvU=";
|
|
|
|
fetchSubmodules = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Firmware Updater for Linux";
|
|
|
|
homepage = "https://github.com/canonical/firmware-updater";
|
2022-03-05 16:20:37 +00:00
|
|
|
license = licenses.gpl3Only;
|
2022-02-20 05:27:41 +00:00
|
|
|
maintainers = with maintainers; [ mkg20001 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|