summary refs log tree commit diff
path: root/pkgs/development/libraries/libipt/default.nix
blob: 792a74da581e0a6e35a790b52122e80ad95afc88 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{ stdenv, fetchFromGitHub, cmake }:

stdenv.mkDerivation rec {
  pname = "libipt";
  version = "2.0.1";

  src = fetchFromGitHub {
    owner = "intel";
    repo = "libipt";
    rev = "v${version}";
    sha256 = "19y1lk5z1rf8xmr08m8zrpjkgr5as83b96xyaxwn67m2wz58mpmh";
  };

  nativeBuildInputs = [ cmake ];

  meta = with stdenv.lib; {
    description = "Intel Processor Trace decoder library";
    homepage = https://github.com/intel/libipt;
    license = licenses.bsd3;
    platforms = platforms.unix;
    maintainers = with maintainers; [ orivej ];
  };
}