33 lines
581 B
Nix
33 lines
581 B
Nix
{
|
|
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";
|
|
};
|
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
|
buildInputs = [ glib libuuid popt elfutils python3 swig4 ncurses breakpointHook ];
|
|
|
|
configureFlags = [
|
|
"--enable-python-plugins"
|
|
"--enable-python-bindings"
|
|
];
|
|
|
|
}
|