3 { lib, stdenv, fetchurl, pkg-config, liburcu, numactl, python3 }:
8 # LTTng-UST will be built with the following options:
10 # Java support (JNI): Disabled
11 # sdt.h integration: Disabled
14 # Debian builds with std.h (systemtap).
16 stdenv.mkDerivation rec {
21 url = "https://lttng.org/files/lttng-ust/${pname}-${version}.tar.bz2";
25 outputs = [ "bin" "out" "dev" "devdoc" ];
27 nativeBuildInputs = [ pkg-config ];
28 buildInputs = [ numactl python3 ];
34 hardeningDisable = [ "trivialautovarinit" ];
36 configureFlags = [ "--disable-examples" ];
38 propagatedBuildInputs = [ liburcu ];
40 enableParallelBuilding = true;
43 description = "LTTng Userspace Tracer libraries";
44 mainProgram = "lttng-gen-tp";
45 homepage = "https://lttng.org/";
46 license = with licenses; [ lgpl21Only gpl2Only mit ];
47 platforms = platforms.linux;
48 maintainers = [ maintainers.bjornfor ];