forked from mirrors/nixpkgs
391c2778d4
- This unbreaks lttng linux kernel modules[1] - lttng-tools has grown a dependency on libxml2 [1]: Build tested (for default NixOS Linux kernel) and run tested with lttng-sessiond (it successfully loads kernel modules).
33 lines
728 B
Nix
33 lines
728 B
Nix
{ stdenv, fetchurl, liburcu }:
|
|
|
|
# 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-2.5.0";
|
|
|
|
src = fetchurl {
|
|
url = "https://lttng.org/files/lttng-ust/${name}.tar.bz2";
|
|
sha256 = "1an3ymk6hy86gp4z4py93mdyb9q8f74hq2hixbnyccr8l60vpl6w";
|
|
};
|
|
|
|
buildInputs = [ liburcu ];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "LTTng Userspace Tracer libraries";
|
|
homepage = http://lttng.org/;
|
|
license = licenses.lgpl21Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = [ maintainers.bjornfor ];
|
|
};
|
|
|
|
}
|