mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 07:00:43 +00:00
3328709918
Signed-off-by: Roosembert Palacios <roosembert.palacios@epfl.ch>
27 lines
592 B
Nix
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" ];
|
|
};
|
|
}
|