1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-27 16:11:58 +00:00
nixpkgs/pkgs/os-specific/linux/pcm/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

27 lines
582 B
Nix

{ stdenv, fetchFromGitHub }:
stdenv.mkDerivation rec {
version = "201902";
pname = "pcm";
src = fetchFromGitHub {
owner = "opcm";
repo = "pcm";
rev = "${version}";
sha256 = "15kh5ry2w1zj2mbg98hlayw8g53jy79q2ixj2wm48g8vagamv77z";
};
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" ];
};
}