2020-10-16 18:18:31 +02:00
|
|
|
{
|
|
|
|
stdenv
|
|
|
|
, fetchurl
|
|
|
|
, pkgconfig
|
|
|
|
, glib
|
|
|
|
, libuuid
|
|
|
|
, popt
|
|
|
|
, elfutils
|
|
|
|
, python3
|
|
|
|
, swig4
|
|
|
|
, ncurses
|
|
|
|
, breakpointHook
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "babeltrace2";
|
|
|
|
version = "2.0.3";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://www.efficios.com/files/babeltrace/${pname}-${version}.tar.bz2";
|
|
|
|
sha256 = "1804pyq7fz6rkcz4r1abkkn0pfnss13m6fd8if32s42l4lajadm5";
|
|
|
|
};
|
|
|
|
|
2020-11-27 20:13:11 +01:00
|
|
|
enableParallelBuilding = true;
|
2020-10-16 18:18:31 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
|
|
buildInputs = [ glib libuuid popt elfutils python3 swig4 ncurses breakpointHook ];
|
2021-04-21 19:42:37 +02:00
|
|
|
hardeningDisable = [ "all" ];
|
2020-10-16 18:18:31 +02:00
|
|
|
|
|
|
|
configureFlags = [
|
|
|
|
"--enable-python-plugins"
|
|
|
|
"--enable-python-bindings"
|
|
|
|
];
|
|
|
|
|
|
|
|
}
|