2019-09-10 21:04:12 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libipt";
|
2020-11-03 00:19:13 +00:00
|
|
|
version = "2.0.3";
|
2019-09-10 21:04:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intel";
|
|
|
|
repo = "libipt";
|
|
|
|
rev = "v${version}";
|
2020-11-03 00:19:13 +00:00
|
|
|
sha256 = "1i6jmv345rqd88qmap6iqbaph4pkd6wbjgkixf22a80pj7cfm1s4";
|
2019-09-10 21:04:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Intel Processor Trace decoder library";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://github.com/intel/libipt";
|
2019-09-10 21:04:12 +00:00
|
|
|
license = licenses.bsd3;
|
2019-09-22 20:42:24 +00:00
|
|
|
platforms = platforms.unix;
|
2019-09-10 21:08:18 +00:00
|
|
|
maintainers = with maintainers; [ orivej ];
|
2019-09-10 21:04:12 +00:00
|
|
|
};
|
|
|
|
}
|