2023-11-20 16:57:54 +01:00
|
|
|
{ stdenv, lib, fetchurl, pkg-config, glib, libuuid, popt, elfutils, swig4, python3 }:
|
2020-10-16 19:31:43 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "babeltrace-1.5.8";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.efficios.com/files/babeltrace/${name}.tar.bz2";
|
|
|
|
sha256 = "1hkg3phnamxfrhwzmiiirbhdgckzfkqwhajl0lmr1wfps7j47wcz";
|
|
|
|
};
|
|
|
|
|
2023-11-20 16:57:54 +01:00
|
|
|
nativeBuildInputs = [ pkg-config ];
|
2020-10-16 19:31:43 +02:00
|
|
|
buildInputs = [ glib libuuid popt elfutils swig4 python3 ];
|
|
|
|
|
2022-09-01 16:27:29 +02:00
|
|
|
meta = with lib; {
|
2020-10-16 19:31:43 +02:00
|
|
|
description = "Command-line tool and library to read and convert LTTng tracefiles";
|
|
|
|
homepage = "https://www.efficios.com/babeltrace";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = [ maintainers.bjornfor ];
|
|
|
|
};
|
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-python-bindings"
|
|
|
|
];
|
|
|
|
}
|