Merge pull request #232715 from jmbaur/init-fiano
This commit is contained in:
commit
bb667d695b
3 changed files with 48 additions and 0 deletions
|
@ -7533,6 +7533,12 @@
|
|||
githubId = 8900;
|
||||
name = "Johan Magnus Jonsson";
|
||||
};
|
||||
jmbaur = {
|
||||
email = "jaredbaur@fastmail.com";
|
||||
github = "jmbaur";
|
||||
githubId = 45740526;
|
||||
name = "Jared Baur";
|
||||
};
|
||||
jmc-figueira = {
|
||||
email = "business+nixos@jmc-figueira.dev";
|
||||
github = "jmc-figueira";
|
||||
|
|
40
pkgs/tools/misc/fiano/default.nix
Normal file
40
pkgs/tools/misc/fiano/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ 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;
|
||||
maintainers = [ maintainers.jmbaur ];
|
||||
};
|
||||
}
|
|
@ -4877,6 +4877,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 { };
|
||||
|
|
Loading…
Reference in a new issue