2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
2019-09-10 21:04:12 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "libipt";
|
2022-02-12 09:44:10 +00:00
|
|
|
version = "2.0.5";
|
2019-09-10 21:04:12 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "intel";
|
|
|
|
repo = "libipt";
|
|
|
|
rev = "v${version}";
|
2022-02-12 09:44:10 +00:00
|
|
|
sha256 = "sha256-W7Hvc2zkmR6FdPGsymWXtm66BiHLcW9r7mywHjabeLc=";
|
2019-09-10 21:04:12 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2019-09-10 21:04:12 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|