3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #203009 from roosemberth/bump-pcm

pcm: 202112 -> 202211
This commit is contained in:
Silvan Mosberger 2022-11-26 12:29:47 +01:00 committed by GitHub
commit 35e6366cc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";