mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-04 14:00:04 +00:00
30 lines
605 B
Nix
30 lines
605 B
Nix
{
|
|
cmake,
|
|
fetchFromGitHub,
|
|
lib,
|
|
stdenv,
|
|
}:
|
|
|
|
stdenv.mkDerivation (finalAttrs: {
|
|
pname = "pcm";
|
|
version = "202604";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "pcm";
|
|
rev = finalAttrs.version;
|
|
hash = "sha256-TWE/5rsCCfoKDAy9i9YDRiUXVnqAX7I08Oq6QgCbzaY=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Processor counter monitor";
|
|
homepage = "https://www.intel.com/software/pcm";
|
|
license = lib.licenses.bsd3;
|
|
maintainers = with lib.maintainers; [ roosemberth ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
})
|