From c446feba9b44a08681a110418195564921de7954 Mon Sep 17 00:00:00 2001 From: Roosembert Palacios Date: Sat, 26 Nov 2022 10:42:43 +0100 Subject: [PATCH] pcm: 202112 -> 202211 Signed-off-by: Roosembert Palacios --- pkgs/os-specific/linux/pcm/default.nix | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/pkgs/os-specific/linux/pcm/default.nix b/pkgs/os-specific/linux/pcm/default.nix index a5d9771a2f9c..d63cefe7943e 100644 --- a/pkgs/os-specific/linux/pcm/default.nix +++ b/pkgs/os-specific/linux/pcm/default.nix @@ -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";