git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #55066 from petabyteboy/feature/ifdtool

ifdtool: init at 4.9

commita9bf0456c2b825537badb730f14fa1a0c237d4c5 authorFlorian Klink <flokli@flokli.de> dateSat 2 Feb 2019, 23:13 (8 years ago) parentc6bb6dd8ad32a7
3 files changed+35
maintainers/maintainer-list.nix+5 pkgs/tools/misc/ifdtool/default.nix+28 pkgs/top-level/all-packages.nix+2
maintainers/maintainer-list.nix+5
@@ -3485,6 +3485,11 @@
34853485 github = "pesterhazy";
34863486 name = "Paulus Esterhazy";
34873487 };
3488+ petabyteboy = {
3489+ email = "me@pbb.lc";
3490+ github = "petabyteboy";
3491+ name = "Milan Pässler";
3492+ };
34883493 peterhoeg = {
34893494 email = "peter@hoeg.com";
34903495 github = "peterhoeg";
pkgs/tools/misc/ifdtool/default.nixnew file+28
@@ -0,0 +1,28 @@
1+{ stdenv, fetchurl }:
2+
3+stdenv.mkDerivation rec {
4+ name = "ifdtool-${version}";
5+ version = "4.9";
6+
7+ src = fetchurl {
8+ url = "https://coreboot.org/releases/coreboot-${version}.tar.xz";
9+ sha256 = "0xkai65d3z9fivwscbkm7ndcw2p9g794xz8fwdv979w77n5qsdij";
10+ };
11+
12+ buildPhase = ''
13+ make -C util/ifdtool
14+ '';
15+
16+ installPhase = ''
17+ install -Dm755 util/ifdtool/ifdtool $out/bin/ifdtool
18+ '';
19+
20+ meta = with stdenv.lib; {
21+ description = "Extract and dump Intel Firmware Descriptor information";
22+ homepage = https://www.coreboot.org;
23+ license = licenses.gpl2;
24+ maintainers = [ maintainers.petabyteboy ];
25+ platforms = platforms.linux;
26+ };
27+}
28+
pkgs/top-level/all-packages.nix+2
@@ -13855,6 +13855,8 @@ in
1385513855
1385613856 cbfstool = callPackage ../applications/virtualization/cbfstool { };
1385713857
13858+ ifdtool = callPackage ../tools/misc/ifdtool { };
13859+
1385813860 nvramtool = callPackage ../tools/misc/nvramtool { };
1385913861
1386013862 vmfs-tools = callPackage ../tools/filesystems/vmfs-tools { };