2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "lttng-tools";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "2.13.13";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
|
2024-05-15 15:35:15 +00:00
|
|
|
sha256 = "sha256-/19PALCB2sZgkq/o5yt8eQZwkxzxwe4N6qf4D7xTiD4=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-04-24 23:36:52 +00:00
|
|
|
buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ];
|
|
|
|
|
2021-09-18 10:52:07 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Tracing tools (kernel + user space) for Linux";
|
2024-04-21 15:54:59 +00:00
|
|
|
mainProgram = "lttng";
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://lttng.org/";
|
2021-09-18 10:52:07 +00:00
|
|
|
license = with licenses; [ lgpl21Only gpl2Only ];
|
2020-04-24 23:36:52 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|