3
0
Fork 0
forked from mirrors/nixpkgs

fiano: init at 1.2.0

Fiano is a suite of Go-based tools for modifying UEFI firmware.

This initial inclusion of fiano omits one package called `fittool`,
since this tool has a separate `modRoot` than the rest and its `go.sum`
is not up to date, so it does not build. I will be working with upstream
to get this fixed.
This commit is contained in:
Jared Baur 2023-05-18 22:31:05 -07:00
parent 2981e3cb8f
commit 0d425b7946
No known key found for this signature in database
2 changed files with 41 additions and 0 deletions

View file

@ -0,0 +1,39 @@
{ 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 = with lib; {
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 = licenses.bsd3;
};
}

View file

@ -4819,6 +4819,8 @@ with pkgs;
fetch-scm = callPackage ../tools/misc/fetch-scm { };
fiano = callPackage ../tools/misc/fiano { };
filebench = callPackage ../tools/misc/filebench { };
filebot = callPackage ../applications/video/filebot { };