Enable python bindings in babeltrace 1

This commit is contained in:
Rodrigo Arias 2020-10-16 19:31:43 +02:00
parent 327a155907
commit ae6a3f9206
2 changed files with 26 additions and 0 deletions

View File

@ -0,0 +1,25 @@
{ stdenv, fetchurl, pkgconfig, glib, libuuid, popt, elfutils, swig4, python3 }:
stdenv.mkDerivation rec {
name = "babeltrace-1.5.8";
src = fetchurl {
url = "https://www.efficios.com/files/babeltrace/${name}.tar.bz2";
sha256 = "1hkg3phnamxfrhwzmiiirbhdgckzfkqwhajl0lmr1wfps7j47wcz";
};
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ glib libuuid popt elfutils swig4 python3 ];
meta = with stdenv.lib; {
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"
];
}

View File

@ -116,6 +116,7 @@ let
nanos6Latest = callPackage ./bsc/nanos6/default.nix { };
nanos6Git = callPackage ./bsc/nanos6/git.nix { };
babeltrace = callPackage ./bsc/babeltrace/default.nix { };
babeltrace2 = callPackage ./bsc/babeltrace2/default.nix { };
vtk = callPackage ./bsc/vtk/default.nix {