tangled
alpha
login
or
join now
tjh.dev
/
nixpkgs
Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
0
fork
atom
overview
issues
pulls
pipelines
intelmetool: init at 4.8.1
gnidorah
7 years ago
bc4c3e5c
716a38d0
+34
2 changed files
expand all
collapse all
unified
split
pkgs
tools
misc
intelmetool
default.nix
top-level
all-packages.nix
+32
pkgs/tools/misc/intelmetool/default.nix
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ stdenv, fetchgit, zlib, pciutils }:
2
+
3
+
stdenv.mkDerivation rec {
4
+
name = "intelmetool-${version}";
5
+
version = "4.8.1";
6
+
7
+
src = fetchgit {
8
+
url = "https://review.coreboot.org/coreboot.git";
9
+
rev = version;
10
+
sha256 = "1gjisy9b7vgzjvy1fwaqhq3589yd59kkylv7apjmg5r2b3dv4zvr";
11
+
fetchSubmodules = false;
12
+
};
13
+
14
+
buildInputs = [ zlib pciutils ];
15
+
16
+
buildPhase = ''
17
+
make -C util/intelmetool
18
+
'';
19
+
20
+
installPhase = ''
21
+
mkdir -p $out/bin
22
+
cp util/intelmetool/intelmetool $out/bin
23
+
'';
24
+
25
+
meta = with stdenv.lib; {
26
+
description = "Dump interesting things about Management Engine";
27
+
homepage = https://www.coreboot.org/Nvramtool;
28
+
license = licenses.gpl2;
29
+
maintainers = [ maintainers.gnidorah ];
30
+
platforms = platforms.linux;
31
+
};
32
+
}
+2
pkgs/top-level/all-packages.nix
···
10256
10257
ilmbase = callPackage ../development/libraries/ilmbase { };
10258
0
0
10259
imlib = callPackage ../development/libraries/imlib {
10260
libpng = libpng12;
10261
};
···
10256
10257
ilmbase = callPackage ../development/libraries/ilmbase { };
10258
10259
+
intelmetool = callPackage ../tools/misc/intelmetool { };
10260
+
10261
imlib = callPackage ../development/libraries/imlib {
10262
libpng = libpng12;
10263
};