blob: 06126a929582beffd9031a00f7802b9b9f87343e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "202007";
pname = "pcm";
src = fetchFromGitHub {
owner = "opcm";
repo = "pcm";
rev = version;
sha256 = "1qqp51mvi52jvf6zf4g1fzv6nh9p37y0i7r2y273gwcdygbidzma";
};
installPhase = ''
mkdir -p $out/bin
cp pcm*.x $out/bin
'';
meta = with stdenv.lib; {
description = "Processor counter monitor";
homepage = "https://www.intel.com/software/pcm";
license = licenses.bsd3;
maintainers = with maintainers; [ roosemberth ];
platforms = [ "x86_64-linux" ];
};
}
|