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