3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/tools/misc/lttng-ust/default.nix
Adrien Devresse 52f6310626 lttng-ust: refactor
liburcu appears in the public API of LTTNG: it should be a
propagatedBuildInputs.
2018-02-07 18:34:53 +01:00

40 lines
848 B
Nix

{ stdenv, fetchurl, liburcu, python }:
# NOTE:
# ./configure ...
# [...]
# LTTng-UST will be built with the following options:
#
# Java support (JNI): Disabled
# sdt.h integration: Disabled
# [...]
#
# Debian builds with std.h (systemtap).
stdenv.mkDerivation rec {
name = "lttng-ust-${version}";
version = "2.10.0";
src = fetchurl {
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
sha256 = "1avx4p71g9m3zvynhhhysxnpkqyhhlv42xiv9502bvp3nwfkgnqs";
};
buildInputs = [ python ];
preConfigure = ''
patchShebangs .
'';
propagatedBuildInputs = [ liburcu ];
meta = with stdenv.lib; {
description = "LTTng Userspace Tracer libraries";
homepage = http://lttng.org/;
license = licenses.lgpl21Plus;
platforms = platforms.linux;
maintainers = [ maintainers.bjornfor ];
};
}