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}";
|
2017-09-15 12:32:50 +01:00
|
|
|
version = "2.10.0";
|
2013-07-04 20:32:12 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
|
2017-09-15 12:32:50 +01:00
|
|
|
sha256 = "1avx4p71g9m3zvynhhhysxnpkqyhhlv42xiv9502bvp3nwfkgnqs";
|
2013-07-04 20:32:12 +01:00
|
|
|
};
|
|
|
|
|
2017-07-16 09:06:21 +01:00
|
|
|
buildInputs = [ liburcu python ];
|
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
patchShebangs .
|
|
|
|
'';
|
2013-07-04 20:32:12 +01:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "LTTng Userspace Tracer libraries";
|
|
|
|
homepage = http://lttng.org/;
|
|
|
|
license = licenses.lgpl21Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|