forked from mirrors/nixpkgs
Merge pull request #203009 from roosemberth/bump-pcm
pcm: 202112 -> 202211
This commit is contained in:
commit
35e6366cc9
|
@ -1,23 +1,19 @@
|
|||
{ lib, stdenv, fetchFromGitHub }:
|
||||
{ cmake, fetchFromGitHub, lib, stdenv }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "pcm";
|
||||
version = "202112";
|
||||
version = "202211";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "opcm";
|
||||
repo = "pcm";
|
||||
rev = version;
|
||||
sha256 = "sha256-uuQvj8BcUmuYDwV4r3oqkT+QTcSFcGjBeGUM2NZRFcA=";
|
||||
hash = "sha256-/OSBzJ81xqw5LfS61DS7M33oDmfxDEzcU0NTVVbwWyI=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
enableParallelBuilding = true;
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin
|
||||
cp pcm*.x $out/bin
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "Processor counter monitor";
|
||||
homepage = "https://www.intel.com/software/pcm";
|
||||
|
|
Loading…
Reference in a new issue