2022-11-27 09:42:12 +00:00
|
|
|
{ cmake, fetchFromGitHub, lib, stdenv }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "pcm";
|
2022-11-27 09:42:12 +00:00
|
|
|
version = "202211";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "opcm";
|
|
|
|
repo = "pcm";
|
|
|
|
rev = version;
|
2022-11-27 09:42:12 +00:00
|
|
|
hash = "sha256-/OSBzJ81xqw5LfS61DS7M33oDmfxDEzcU0NTVVbwWyI=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-11-27 09:42:12 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2021-12-06 16:07:01 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Processor counter monitor";
|
|
|
|
homepage = "https://www.intel.com/software/pcm";
|
|
|
|
license = licenses.bsd3;
|
|
|
|
maintainers = with maintainers; [ roosemberth ];
|
|
|
|
platforms = [ "x86_64-linux" ];
|
|
|
|
};
|
|
|
|
}
|