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