nixpkgs/pkgs/development/tools/misc/lttng-ust/default.nix

40 lines
848 B
Nix
Raw Normal View History

{ stdenv, fetchurl, liburcu, python }:
# NOTE:
# ./configure ...
# [...]
# LTTng-UST will be built with the following options:
2017-06-18 20:43:14 +00: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}";
version = "2.10.1";
src = fetchurl {
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
sha256 = "17gfi1dn6bgg59qn4ihf8hag96lalx0g7dym2ccpzdz7f45krk07";
};
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 ];
};
}