@@ -0,0 +1,23 @@
1+{ stdenv, fetchFromGitHub, cmake }:
2+
3+stdenv.mkDerivation rec {
4+ pname = "libipt";
5+ version = "2.0.1";
6+
7+ src = fetchFromGitHub {
8+ owner = "intel";
9+ repo = "libipt";
10+ rev = "v${version}";
11+ sha256 = "19y1lk5z1rf8xmr08m8zrpjkgr5as83b96xyaxwn67m2wz58mpmh";
12+ };
13+
14+ nativeBuildInputs = [ cmake ];
15+
16+ meta = with stdenv.lib; {
17+ description = "Intel Processor Trace decoder library";
18+ homepage = https://github.com/intel/libipt;
19+ license = licenses.bsd3;
20+ platforms = platforms.linux;
21+ maintainer = with maintainers; [ orivej ];
22+ };
23+}