3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #55066 from petabyteboy/feature/ifdtool

ifdtool: init at 4.9
This commit is contained in:
Florian Klink 2019-02-02 23:13:24 +01:00 committed by GitHub
commit a9bf0456c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 0 deletions

View file

@ -3485,6 +3485,11 @@
github = "pesterhazy";
name = "Paulus Esterhazy";
};
petabyteboy = {
email = "me@pbb.lc";
github = "petabyteboy";
name = "Milan Pässler";
};
peterhoeg = {
email = "peter@hoeg.com";
github = "peterhoeg";

View file

@ -0,0 +1,28 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "ifdtool-${version}";
version = "4.9";
src = fetchurl {
url = "https://coreboot.org/releases/coreboot-${version}.tar.xz";
sha256 = "0xkai65d3z9fivwscbkm7ndcw2p9g794xz8fwdv979w77n5qsdij";
};
buildPhase = ''
make -C util/ifdtool
'';
installPhase = ''
install -Dm755 util/ifdtool/ifdtool $out/bin/ifdtool
'';
meta = with stdenv.lib; {
description = "Extract and dump Intel Firmware Descriptor information";
homepage = https://www.coreboot.org;
license = licenses.gpl2;
maintainers = [ maintainers.petabyteboy ];
platforms = platforms.linux;
};
}

View file

@ -13855,6 +13855,8 @@ in
cbfstool = callPackage ../applications/virtualization/cbfstool { };
ifdtool = callPackage ../tools/misc/ifdtool { };
nvramtool = callPackage ../tools/misc/nvramtool { };
vmfs-tools = callPackage ../tools/filesystems/vmfs-tools { };