bscpkgs/pkgs/babeltrace/default.nix

26 lines
742 B
Nix
Raw Normal View History

{ stdenv, lib, fetchurl, pkg-config, glib, libuuid, popt, elfutils, swig4, python3 }:
2020-10-17 01:31:43 +08:00
stdenv.mkDerivation rec {
name = "babeltrace-1.5.8";
src = fetchurl {
url = "https://www.efficios.com/files/babeltrace/${name}.tar.bz2";
sha256 = "1hkg3phnamxfrhwzmiiirbhdgckzfkqwhajl0lmr1wfps7j47wcz";
};
nativeBuildInputs = [ pkg-config ];
2020-10-17 01:31:43 +08:00
buildInputs = [ glib libuuid popt elfutils swig4 python3 ];
2022-09-01 22:27:29 +08:00
meta = with lib; {
2020-10-17 01:31:43 +08: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"
];
}