1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-03 19:15:39 +00:00
nixpkgs/pkgs/os-specific/linux/pcm/default.nix
Roosembert Palacios 3328709918
pcm: init at 201710
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
2018-03-14 21:28:55 +01:00

27 lines
592 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "201710";
name = "pcm-${version}";
src = fetchFromGitHub {
owner = "opcm";
repo = "pcm";
rev = "${version}";
sha256 = "02rq8739zwwbfrhagvcgf6qpmnswxl9b0qsld26rg6zp91v2npbj";
};
installPhase = ''
mkdir -p $out/bin
cp pcm*.x $out/bin
'';
meta = with stdenv.lib; {
description = "Processor counter monitor";
homepage = https://www.intel.com/software/pcm;
license = licenses.bsd3;
maintainers = with maintainers; [ roosemberth ];
platforms = [ "x86_64-linux" ];
};
}