Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
45 lines
859 B
Nix
45 lines
859 B
Nix
{
|
|
lib,
|
|
buildGoModule,
|
|
fetchFromGitHub,
|
|
}:
|
|
|
|
buildGoModule rec {
|
|
pname = "fiano";
|
|
|
|
version = "1.2.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "linuxboot";
|
|
repo = "fiano";
|
|
rev = "v${version}";
|
|
hash = "sha256-QX0XMec99YbYWyfRThhwDaNjKstkUEz6wsisBynprmg=";
|
|
};
|
|
|
|
subPackages = [
|
|
"cmds/cbfs"
|
|
"cmds/create-ffs"
|
|
"cmds/fmap"
|
|
"cmds/fspinfo"
|
|
"cmds/glzma"
|
|
"cmds/guid2english"
|
|
"cmds/microcode"
|
|
"cmds/utk"
|
|
];
|
|
|
|
vendorHash = "sha256-00ZSAVEmk2pNjv6fo++gnpIheK8lo4AVWf+ghXappnI=";
|
|
|
|
ldflags = [
|
|
"-s"
|
|
"-w"
|
|
];
|
|
|
|
meta = {
|
|
description = "Go-based tools for modifying UEFI firmware";
|
|
homepage = "https://github.com/linuxboot/fiano";
|
|
changelog = "https://github.com/linuxboot/fiano/blob/v${version}/RELEASES.md";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = [ lib.maintainers.jmbaur ];
|
|
};
|
|
}
|