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
···
1
1
+
{ stdenv, fetchgit, zlib, pciutils }:
2
2
+
3
3
+
stdenv.mkDerivation rec {
4
4
+
name = "intelmetool-${version}";
5
5
+
version = "4.8.1";
6
6
+
7
7
+
src = fetchgit {
8
8
+
url = "https://review.coreboot.org/coreboot.git";
9
9
+
rev = version;
10
10
+
sha256 = "1gjisy9b7vgzjvy1fwaqhq3589yd59kkylv7apjmg5r2b3dv4zvr";
11
11
+
fetchSubmodules = false;
12
12
+
};
13
13
+
14
14
+
buildInputs = [ zlib pciutils ];
15
15
+
16
16
+
buildPhase = ''
17
17
+
make -C util/intelmetool
18
18
+
'';
19
19
+
20
20
+
installPhase = ''
21
21
+
mkdir -p $out/bin
22
22
+
cp util/intelmetool/intelmetool $out/bin
23
23
+
'';
24
24
+
25
25
+
meta = with stdenv.lib; {
26
26
+
description = "Dump interesting things about Management Engine";
27
27
+
homepage = https://www.coreboot.org/Nvramtool;
28
28
+
license = licenses.gpl2;
29
29
+
maintainers = [ maintainers.gnidorah ];
30
30
+
platforms = platforms.linux;
31
31
+
};
32
32
+
}
+2
pkgs/top-level/all-packages.nix
···
10256
10256
10257
10257
ilmbase = callPackage ../development/libraries/ilmbase { };
10258
10258
10259
10259
+
intelmetool = callPackage ../tools/misc/intelmetool { };
10260
10260
+
10259
10261
imlib = callPackage ../development/libraries/imlib {
10260
10262
libpng = libpng12;
10261
10263
};