Unverified Commit 35e6366c authored by Silvan Mosberger's avatar Silvan Mosberger Committed by GitHub
Browse files

Merge pull request #203009 from roosemberth/bump-pcm

pcm: 202112 -> 202211
parents f32d471a c446feba
Loading
Loading
Loading
Loading
+4 −8
Original line number Diff line number Diff line
{ 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";