2021-01-23 12:26:19 +00:00
|
|
|
{ lib, stdenv, fetchurl, pkg-config, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
|
2013-07-04 19:38:23 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "lttng-tools";
|
2023-01-12 22:45:57 +00:00
|
|
|
version = "2.13.9";
|
2013-07-04 19:38:23 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 12:41:18 +00:00
|
|
|
url = "https://lttng.org/files/lttng-tools/${pname}-${version}.tar.bz2";
|
2023-01-12 22:45:57 +00:00
|
|
|
sha256 = "sha256-jZTclbYIz3AhawEgOj+CQrl6Iy2y4jQhovQ3CNoI8zc=";
|
2013-07-04 19:38:23 +00:00
|
|
|
};
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2017-02-23 10:01:47 +00:00
|
|
|
buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ];
|
2013-07-04 19:38:23 +00:00
|
|
|
|
2021-08-30 09:08:48 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-23 12:26:19 +00:00
|
|
|
meta = with lib; {
|
2013-07-04 19:38:23 +00:00
|
|
|
description = "Tracing tools (kernel + user space) for Linux";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "https://lttng.org/";
|
2021-08-30 09:08:48 +00:00
|
|
|
license = with licenses; [ lgpl21Only gpl2Only ];
|
2013-07-04 19:38:23 +00:00
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|