Skip to content

Commit

Permalink
Merge pull request #51679 from gnidorah/intelmetool
Browse files Browse the repository at this point in the history
intelmetool: init at 4.8.1
  • Loading branch information
srhb committed Dec 13, 2018
2 parents f1b814a + bc4c3e5 commit d770355
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
32 changes: 32 additions & 0 deletions pkgs/tools/misc/intelmetool/default.nix
@@ -0,0 +1,32 @@
{ stdenv, fetchgit, zlib, pciutils }:

stdenv.mkDerivation rec {
name = "intelmetool-${version}";
version = "4.8.1";

src = fetchgit {
url = "https://review.coreboot.org/coreboot.git";
rev = version;
sha256 = "1gjisy9b7vgzjvy1fwaqhq3589yd59kkylv7apjmg5r2b3dv4zvr";
fetchSubmodules = false;
};

buildInputs = [ zlib pciutils ];

buildPhase = ''
make -C util/intelmetool
'';

installPhase = ''
mkdir -p $out/bin
cp util/intelmetool/intelmetool $out/bin
'';

meta = with stdenv.lib; {
description = "Dump interesting things about Management Engine";
homepage = https://www.coreboot.org/Nvramtool;
license = licenses.gpl2;
maintainers = [ maintainers.gnidorah ];
platforms = platforms.linux;
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -10317,6 +10317,8 @@ in

ilmbase = callPackage ../development/libraries/ilmbase { };

intelmetool = callPackage ../tools/misc/intelmetool { };

imlib = callPackage ../development/libraries/imlib {
libpng = libpng12;
};
Expand Down

0 comments on commit d770355

Please sign in to comment.