Merge pull request #232715 from jmbaur/init-fiano

This commit is contained in:
Sandro 2023-05-28 19:55:29 +02:00 committed by GitHub
commit bb667d695b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 48 additions and 0 deletions

View file

@ -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";

View 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 ];
};
}

View file

@ -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 { };