depot/third_party/nixpkgs/pkgs/os-specific/linux/pcm/default.nix
Default email 4d5a95770c Project import generated by Copybara.
GitOrigin-RevId: 3c5319ad3aa51551182ac82ea17ab1c6b0f0df89
2023-03-04 15:14:45 +03:00

24 lines
576 B
Nix

{ cmake, fetchFromGitHub, lib, stdenv }:
stdenv.mkDerivation rec {
pname = "pcm";
version = "202302";
src = fetchFromGitHub {
owner = "opcm";
repo = "pcm";
rev = version;
hash = "sha256-69wdA6/bRN5gYl02GgA8mXnXxVZlHIGkhtC8vFKZVcA=";
};
nativeBuildInputs = [ cmake ];
enableParallelBuilding = true;
meta = with lib; {
description = "Processor counter monitor";
homepage = "https://www.intel.com/software/pcm";
license = licenses.bsd3;
maintainers = with maintainers; [ roosemberth ];
platforms = [ "x86_64-linux" ];
};
}