2017-02-23 10:01:47 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, popt, libuuid, liburcu, lttng-ust, kmod, libxml2 }:
|
2013-07-04 20:38:23 +01:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-23 10:01:47 +00:00
|
|
|
name = "lttng-tools-${version}";
|
2019-06-17 08:20:56 +01:00
|
|
|
version = "2.10.7";
|
2013-07-04 20:38:23 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lttng.org/files/lttng-tools/${name}.tar.bz2";
|
2019-06-17 08:20:56 +01:00
|
|
|
sha256 = "04hkga0hnyjmv42mxj3njaykqmq9x4abd5qfyds5r62x1khfnwgd";
|
2013-07-04 20:38:23 +01:00
|
|
|
};
|
|
|
|
|
2017-02-23 10:01:47 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ popt libuuid liburcu lttng-ust libxml2 kmod ];
|
2013-07-04 20:38:23 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Tracing tools (kernel + user space) for Linux";
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://lttng.org/;
|
2013-07-04 20:38:23 +01:00
|
|
|
license = licenses.lgpl21;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|