nixpkgs/pkgs/os-specific/linux/firmware/firmware-updater/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
897 B
Nix
Raw Normal View History

2021-11-24 03:44:06 +03:00
{ lib
, writeText
, flutter
2021-11-24 03:44:06 +03:00
, fetchFromGitHub
}:
flutter.buildFlutterApplication rec {
2021-11-24 03:44:06 +03:00
pname = "firmware-updater";
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;
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";
rev = "e48bb3f693e5d76656a3e7bbc07be0fcbfa19f23";
hash = "sha256-SO3sDIsJCK4Sh51pXO4u6WX4zcFa6jQYu9E+WtVrjDE=";
2021-11-24 03:44:06 +03:00
};
meta = with lib; {
description = "Firmware Updater for Linux";
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;
};
}