blob: 060f6a803566a09b44222c9c3d9c5fda0172a80c (
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
24
|
{ lib, stdenv, fetchFromGitHub, cmake, freebsd }:
stdenv.mkDerivation rec {
pname = "libipt";
version = "2.1.1";
src = fetchFromGitHub {
owner = "intel";
repo = "libipt";
rev = "v${version}";
sha256 = "sha256-tyOheitSlccf/n3mklGL2oAKLBKYT60LSLre9/G/b9Q=";
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optional stdenv.hostPlatform.isFreeBSD freebsd.libstdthreads;
meta = with lib; {
description = "Intel Processor Trace decoder library";
homepage = "https://github.com/intel/libipt";
license = licenses.bsd3;
platforms = platforms.unix;
maintainers = with maintainers; [ orivej ];
};
}
|