2017-07-16 09:06:21 +01:00
|
|
|
{ stdenv, fetchurl, liburcu, python }:
|
2013-07-04 20:32:12 +01:00
|
|
|
|
|
|
|
# NOTE:
|
|
|
|
# ./configure ...
|
|
|
|
# [...]
|
|
|
|
# LTTng-UST will be built with the following options:
|
2017-06-18 21:43:14 +01:00
|
|
|
#
|
2013-07-04 20:32:12 +01:00
|
|
|
# Java support (JNI): Disabled
|
|
|
|
# sdt.h integration: Disabled
|
|
|
|
# [...]
|
|
|
|
#
|
|
|
|
# Debian builds with std.h (systemtap).
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2017-02-23 10:01:55 +00:00
|
|
|
name = "lttng-ust-${version}";
|
2019-01-28 11:46:54 +00:00
|
|
|
version = "2.10.3";
|
2013-07-04 20:32:12 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
|
2019-01-28 11:46:54 +00:00
|
|
|
sha256 = "0aw580xx6x9hgbxrzil7yqv12j8yvi5d9iibldx3z5jz1pwj114y";
|
2013-07-04 20:32:12 +01:00
|
|
|
};
|
|
|
|
|
2018-02-06 13:28:00 +00:00
|
|
|
buildInputs = [ python ];
|
2017-07-16 09:06:21 +01:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2018-02-06 13:28:00 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ liburcu ];
|
2013-07-04 20:32:12 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "LTTng Userspace Tracer libraries";
|
2018-03-25 06:04:25 +01:00
|
|
|
homepage = https://lttng.org/;
|
2013-07-04 20:32:12 +01:00
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|